From: MASM fan Date: Tue, 23 Dec 2014 22:41:55 +0000 (-0800) Subject: Switch back to -O2 level of optimization. X-Git-Tag: nvc-v0.5.1~54 X-Git-Url: https://git.novaco.in/?p=novacoin.git;a=commitdiff_plain;h=1755e831405f3cdd32daeef66a70c40de628920a Switch back to -O2 level of optimization. --- diff --git a/src/makefile.linux-mingw b/src/makefile.linux-mingw index 075d65f..de46800 100644 --- a/src/makefile.linux-mingw +++ b/src/makefile.linux-mingw @@ -52,7 +52,7 @@ LIBS= \ DEFS=-D_MT -DWIN32 -D_WINDOWS -DBOOST_THREAD_USE_LIB -DBOOST_SPIRIT_THREADSAFE -DBOOST_USE_WINDOWS_H DEBUGFLAGS=-g -CFLAGS=-O3 -msse2 -w -Wall -Wextra -Wno-ignored-qualifiers -Wformat -Wformat-security -Wno-unused-parameter $(DEBUGFLAGS) $(DEFS) $(INCLUDEPATHS) +CFLAGS=-O2 -msse2 -w -Wall -Wextra -Wno-ignored-qualifiers -Wformat -Wformat-security -Wno-unused-parameter $(DEBUGFLAGS) $(DEFS) $(INCLUDEPATHS) LDFLAGS=-Wl,--dynamicbase -Wl,--nxcompat -static-libgcc -static-libstdc++ ifndef USE_UPNP diff --git a/src/makefile.mingw b/src/makefile.mingw index cbc2e9d..8a0d41a 100644 --- a/src/makefile.mingw +++ b/src/makefile.mingw @@ -28,7 +28,7 @@ LIBS= \ DEFS=-DWIN32 -D_WINDOWS -DBOOST_THREAD_USE_LIB -DBOOST_SPIRIT_THREADSAFE DEBUGFLAGS=-g -CFLAGS=-mthreads -O3 -msse2 -w -Wall -Wextra -Wno-ignored-qualifiers -Wformat -Wformat-security -Wno-unused-parameter $(DEBUGFLAGS) $(DEFS) $(INCLUDEPATHS) +CFLAGS=-mthreads -O2 -msse2 -w -Wall -Wextra -Wno-ignored-qualifiers -Wformat -Wformat-security -Wno-unused-parameter $(DEBUGFLAGS) $(DEFS) $(INCLUDEPATHS) LDFLAGS=-Wl,--dynamicbase -Wl,--nxcompat TESTDEFS = -DTEST_DATA_DIR=$(abspath test/data) diff --git a/src/makefile.osx b/src/makefile.osx index 9df1012..f2411b0 100644 --- a/src/makefile.osx +++ b/src/makefile.osx @@ -54,7 +54,7 @@ ifdef RELEASE # Compile for maximum compatibility and smallest size. # This requires that dependencies are compiled # the same way. -CFLAGS = -O3 -msse2 +CFLAGS = -O2 -msse2 else CFLAGS = -g -msse2 endif