diff options
author | Adam Ierymenko <adam.ierymenko@gmail.com> | 2014-03-11 10:18:39 -0700 |
---|---|---|
committer | Adam Ierymenko <adam.ierymenko@gmail.com> | 2014-03-11 10:18:39 -0700 |
commit | 74c2e644a90b721a6c0d94aef4b62120d08f8f07 (patch) | |
tree | d375c2c0a1ccfdc92e12ca9d6e312fb25dc95d48 | |
parent | dfee7e0389c631b58de4b8a38a20016f22004564 (diff) | |
download | infinitytier-74c2e644a90b721a6c0d94aef4b62120d08f8f07.tar.gz infinitytier-74c2e644a90b721a6c0d94aef4b62120d08f8f07.zip |
Change -O4 to -O3 -flto on OSX for new clang (should work with older one too)
-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 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 |