diff options
author | Adam Ierymenko <adam.ierymenko@gmail.com> | 2014-03-11 10:56:38 -0700 |
---|---|---|
committer | Adam Ierymenko <adam.ierymenko@gmail.com> | 2014-03-11 10:56:38 -0700 |
commit | dbd7a06ea9e3efdfb4e7219bf5efcb09d03aacda (patch) | |
tree | 8d9169caf5b6edcb90320707a1c543b8e8a5d7cf | |
parent | 74c2e644a90b721a6c0d94aef4b62120d08f8f07 (diff) | |
download | infinitytier-dbd7a06ea9e3efdfb4e7219bf5efcb09d03aacda.tar.gz infinitytier-dbd7a06ea9e3efdfb4e7219bf5efcb09d03aacda.zip |
Enable PIE to allow ASLR (security)
-rw-r--r-- | make-mac.mk | 2 |
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 |