summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam Ierymenko <adam.ierymenko@gmail.com>2013-07-06 14:20:32 -0700
committerAdam Ierymenko <adam.ierymenko@gmail.com>2013-07-06 14:20:32 -0700
commit0a7a8b415d9d61f9c6bf725313881d14d8767a10 (patch)
tree0365e0f0a0764f1f12a575283a62a3353e39c409
parent2fffdfdaf50f892976b9586ccf0a40a306bc34a1 (diff)
parent9eec6adc8ca939f66e8e2fbef0b9087fc701d451 (diff)
downloadinfinitytier-0a7a8b415d9d61f9c6bf725313881d14d8767a10.tar.gz
infinitytier-0a7a8b415d9d61f9c6bf725313881d14d8767a10.zip
Merge pull request #5 from Cubox-/master
The -O6 flag is useless. -O3 will do the same.
-rw-r--r--Makefile.linux2
-rw-r--r--Makefile.mac2
2 files changed, 2 insertions, 2 deletions
diff --git a/Makefile.linux b/Makefile.linux
index 2705903c..b5e4ccec 100644
--- a/Makefile.linux
+++ b/Makefile.linux
@@ -6,7 +6,7 @@ ARCH=$(shell uname -m)
DEFS=-DZT_ARCH="$(ARCH)" -DZT_OSNAME="linux" -DZT_TRACE
# Uncomment for a release optimized build
-CFLAGS=-Wall -O6 -fno-unroll-loops -pthread $(INCLUDES) -DNDEBUG $(DEFS)
+CFLAGS=-Wall -O3 -fno-unroll-loops -pthread $(INCLUDES) -DNDEBUG $(DEFS)
STRIP=strip --strip-all
# Uncomment for a debug build
diff --git a/Makefile.mac b/Makefile.mac
index afcabeef..5e771021 100644
--- a/Makefile.mac
+++ b/Makefile.mac
@@ -5,7 +5,7 @@ INCLUDES=-Iext/bin/libcrypto/include -Iext/jsoncpp/include
DEFS=-DZT_ARCH="x86_combined" -DZT_OSNAME="mac" -DZT_TRACE
# Uncomment for a release optimized universal binary build
-CFLAGS=-arch i386 -arch x86_64 -Wall -O6 -ftree-vectorize -pthread -mmacosx-version-min=10.6 -DNDEBUG $(INCLUDES) $(DEFS)
+CFLAGS=-arch i386 -arch x86_64 -Wall -O3 -ftree-vectorize -pthread -mmacosx-version-min=10.6 -DNDEBUG $(INCLUDES) $(DEFS)
STRIP=strip
# Uncomment for a debug build