From deb87ab9744354a32ecc042374031cb296b6e72a Mon Sep 17 00:00:00 2001 From: Konrad Rosenbaum Date: Sat, 14 Apr 2012 14:34:25 +0200 Subject: [PATCH] activate ASLR for linux --- src/smoke.pro | 8 ++++++++ 1 files changed, 8 insertions(+), 0 deletions(-) diff --git a/src/smoke.pro b/src/smoke.pro index 631d1c1..af7e047 100644 --- a/src/smoke.pro +++ b/src/smoke.pro @@ -54,3 +54,11 @@ include(wob/wob.pri) #make sure dependencies are found DEPENDPATH += $$INCLUDEPATH + +#security features +linux-g++* { + message("activating ASLR and friends") + QMAKE_CFLAGS += -fPIE + QMAKE_CXXFLAGS += -fPIE + QMAKE_LFLAGS += -pie +} -- 1.7.2.5