Blob Blame History Raw
--- a/unixconf.pri
+++ b/unixconf.pri
@@ -12,8 +12,8 @@
 # COMPILATION SPECIFIC
 !nogui:dbus: QT += dbus
 
-QMAKE_CXXFLAGS += -Wall -Wextra -Wpedantic -Wformat-security
-!haiku: QMAKE_LFLAGS_APP += -rdynamic
+QMAKE_CXXFLAGS += -fPIE -Wall -Wextra -Wpedantic -Wformat-security
+!haiku: QMAKE_LFLAGS_APP += -Wl,-z,now -pie -rdynamic
 
 # Man page
 nogui {