summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam Ierymenko <adam.ierymenko@gmail.com>2013-12-16 16:56:25 -0800
committerAdam Ierymenko <adam.ierymenko@gmail.com>2013-12-16 16:56:25 -0800
commit99213ef59a676c26c11c1f77be3ffb97bcacb1e0 (patch)
treeeaf9f525c323e4d6ecc69631f6ca07f8fb054284
parentb54f998a85c525a6d483c827e1f22c7344d49543 (diff)
downloadinfinitytier-99213ef59a676c26c11c1f77be3ffb97bcacb1e0.tar.gz
infinitytier-99213ef59a676c26c11c1f77be3ffb97bcacb1e0.zip
Add -fstack-protector back on Mac... turns out it does work on clang.
-rw-r--r--make-mac.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/make-mac.mk b/make-mac.mk
index f2b677fd..607873a9 100644
--- a/make-mac.mk
+++ b/make-mac.mk
@@ -10,7 +10,7 @@ ifeq ($(ZT_AUTO_UPDATE),1)
endif
# Uncomment for a release optimized universal binary build
-CFLAGS=-arch i386 -arch x86_64 -Wall -O4 -pthread -mmacosx-version-min=10.6 -DNDEBUG -Wno-unused-private-field $(INCLUDES) $(DEFS)
+CFLAGS=-arch i386 -arch x86_64 -Wall -O4 -fstack-protector -pthread -mmacosx-version-min=10.6 -DNDEBUG -Wno-unused-private-field $(INCLUDES) $(DEFS)
STRIP=strip
# Uncomment for a debug build