Index: trunk/BNC/src/src.pri
===================================================================
--- trunk/BNC/src/src.pri	(revision 11087)
+++ trunk/BNC/src/src.pri	(revision 11130)
@@ -19,4 +19,11 @@
 
 win32:QMAKE_CXXFLAGS += /std:c++17
+
+# Hardening, independent of the distribution's compiler defaults: stack
+# protector, bounds checks of the std containers (abort instead of memory
+# corruption), read-only relocations. _FORTIFY_SOURCE is not set, it requires
+# optimization, which is switched off above.
+linux:QMAKE_CXXFLAGS += -fstack-protector-strong -D_GLIBCXX_ASSERTIONS
+linux:QMAKE_LFLAGS   += -Wl,-z,relro,-z,now
 
 debug:OBJECTS_DIR=.obj/debug
