Add -fstack-protector back on Mac... turns out it does work on clang.

This commit is contained in:
Adam Ierymenko 2013-12-16 16:56:25 -08:00
parent b54f998a85
commit 99213ef59a

View file

@ -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