From 99213ef59a676c26c11c1f77be3ffb97bcacb1e0 Mon Sep 17 00:00:00 2001 From: Adam Ierymenko Date: Mon, 16 Dec 2013 16:56:25 -0800 Subject: [PATCH] Add -fstack-protector back on Mac... turns out it does work on clang. --- make-mac.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/make-mac.mk b/make-mac.mk index f2b677fdc..607873a99 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