diff --git a/src/Makefile b/src/Makefile index 1388f465..d5a72b66 100644 --- a/src/Makefile +++ b/src/Makefile @@ -25,8 +25,11 @@ 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 = -O3 -msse +GCCFLAGS = -O1 -msse ICCFLAGS = -fast -msse ICCFLAGS-OSX = -fast -mdynamic-no-pic