summaryrefslogtreecommitdiff
path: root/make-mac.mk
diff options
context:
space:
mode:
authorAdam Ierymenko <adam.ierymenko@gmail.com>2014-03-11 10:56:38 -0700
committerAdam Ierymenko <adam.ierymenko@gmail.com>2014-03-11 10:56:38 -0700
commitdbd7a06ea9e3efdfb4e7219bf5efcb09d03aacda (patch)
tree8d9169caf5b6edcb90320707a1c543b8e8a5d7cf /make-mac.mk
parent74c2e644a90b721a6c0d94aef4b62120d08f8f07 (diff)
downloadinfinitytier-dbd7a06ea9e3efdfb4e7219bf5efcb09d03aacda.tar.gz
infinitytier-dbd7a06ea9e3efdfb4e7219bf5efcb09d03aacda.zip
Enable PIE to allow ASLR (security)
Diffstat (limited to 'make-mac.mk')
-rw-r--r--make-mac.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/make-mac.mk b/make-mac.mk
index 35f8c9b7..559ef2be 100644
--- a/make-mac.mk
+++ b/make-mac.mk
@@ -23,7 +23,7 @@ endif
#DEFS+=-DZT_TRACE -DZT_LOG_STDOUT
# Uncomment for a release optimized universal binary build
-CFLAGS=-arch i386 -arch x86_64 -Wall -O3 -flto -fvectorize -fstack-protector -pthread -mmacosx-version-min=10.6 -DNDEBUG -Wno-unused-private-field $(INCLUDES) $(DEFS)
+CFLAGS=-arch i386 -arch x86_64 -Wall -O3 -flto -fPIE -fvectorize -fstack-protector -pthread -mmacosx-version-min=10.6 -DNDEBUG -Wno-unused-private-field $(INCLUDES) $(DEFS)
STRIP=strip
# Uncomment for a debug build