--- a/unixconf.pri
+++ b/unixconf.pri
@@ -14,8 +14,8 @@ exists($$OUT_PWD/../conf.pri) {
QT += dbus
}
-QMAKE_CXXFLAGS += -Wformat -Wformat-security
-QMAKE_LFLAGS_APP += -rdynamic
+QMAKE_CXXFLAGS += -fPIE -Wformat -Wformat-security
+QMAKE_LFLAGS_APP += -Wl,-z,now -pie -rdynamic
# Man page
nox {