]> git.sesse.net Git - stockfish/blobdiff - src/Makefile
Remove unused FailHigh flag
[stockfish] / src / Makefile
index d5a72b66f5a5a829c98ca7270687e26a1a906c06..3963e5589d6fdfc85a87dd230ff0d3ef048830fc 100644 (file)
@@ -25,11 +25,8 @@ EXE = stockfish
 ### ==========================================================================
 ### Compiler speed switches for both GCC and ICC. These settings are generally
 ### fast on a broad range of systems, but may be changed experimentally
-###
-### NOTE: Some versions of gcc miscompile value.h with -O2 or -O3, this is the
-### safe setup, try changing to -O3 or -O2 and verify it works for you.
 ### ==========================================================================
-GCCFLAGS = -O1 -msse
+GCCFLAGS = -O3 -msse
 ICCFLAGS = -fast -msse
 ICCFLAGS-OSX = -fast -mdynamic-no-pic
 
@@ -83,6 +80,7 @@ help:
        @echo "Makefile options:"
        @echo ""
        @echo "make                >  Default: Compiler = g++"
+       @echo "make gcc-popcnt     >  Compiler = g++ + popcnt-support"
        @echo "make icc            >  Compiler = icpc"
        @echo "make icc-profile    >  Compiler = icpc + automatic pgo-build"
        @echo "make icc-profile-popcnt >  Compiler = icpc + automatic pgo-build + popcnt-support"
@@ -111,6 +109,13 @@ gcc:
        CXXFLAGS="$(GCCFLAGS)" \
        all
 
+gcc-popcnt:
+       $(MAKE) \
+       CXX='g++' \
+       CXXFLAGS="$(GCCFLAGS) -DUSE_POPCNT" \
+       all
+
+
 icc:
        $(MAKE) \
        CXX='icpc' \