Changeset 11130 in ntrip for trunk/BNC/src/src.pri


Ignore:
Timestamp:
Oct 28, 2026, 9:32:30 AM (4 days ago)
Author:
stuerze
Message:

Some fixes from security point of view

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/src/src.pri

    r11087 r11130  
    1919
    2020win32:QMAKE_CXXFLAGS += /std:c++17
     21
     22# Hardening, independent of the distribution's compiler defaults: stack
     23# protector, bounds checks of the std containers (abort instead of memory
     24# corruption), read-only relocations. _FORTIFY_SOURCE is not set, it requires
     25# optimization, which is switched off above.
     26linux:QMAKE_CXXFLAGS += -fstack-protector-strong -D_GLIBCXX_ASSERTIONS
     27linux:QMAKE_LFLAGS   += -Wl,-z,relro,-z,now
    2128
    2229debug:OBJECTS_DIR=.obj/debug
Note: See TracChangeset for help on using the changeset viewer.