projects
/
web/konrad/smoke.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
0883178
)
activate ASLR for linux
author
Konrad Rosenbaum
<konrad@silmor.de>
Sat, 14 Apr 2012 12:34:25 +0000 (14:34 +0200)
committer
Konrad Rosenbaum
<konrad@silmor.de>
Sat, 14 Apr 2012 12:34:25 +0000 (14:34 +0200)
src/smoke.pro
patch
|
blob
|
history
diff --git
a/src/smoke.pro
b/src/smoke.pro
index
631d1c1
..
af7e047
100644
(file)
--- 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
+}