From 74c2e644a90b721a6c0d94aef4b62120d08f8f07 Mon Sep 17 00:00:00 2001 From: Adam Ierymenko Date: Tue, 11 Mar 2014 10:18:39 -0700 Subject: Change -O4 to -O3 -flto on OSX for new clang (should work with older one too) --- make-mac.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/make-mac.mk b/make-mac.mk index f4eddb46..35f8c9b7 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 -O4 -fstack-protector -pthread -mmacosx-version-min=10.6 -DNDEBUG -Wno-unused-private-field $(INCLUDES) $(DEFS) +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) STRIP=strip # Uncomment for a debug build -- cgit v1.2.3