]> git.sesse.net Git - stockfish/blobdiff - src/Makefile
Revert "Use a per-thread array"
[stockfish] / src / Makefile
index 860b146a4fbe88a6a6aab515da073e6d6b153f9e..fd5290be53b24abbe2c2dfd05aee5f572e76f5d4 100644 (file)
@@ -243,7 +243,7 @@ ifeq ($(comp),mingw)
 endif
 
 ifeq ($(comp),icc)
 endif
 
 ifeq ($(comp),icc)
-       CXXFLAGS += -wd383,981,1418,1419,1476,10187,10188,11505,11503 -Wcheck -Wabi -Wdeprecated -strict-ansi
+       CXXFLAGS += -diag-disable 1476,10120 -Wcheck -Wabi -Wdeprecated -strict-ansi
 endif
 
 ifeq ($(comp),clang)
 endif
 
 ifeq ($(comp),clang)
@@ -273,7 +273,7 @@ ifneq ($(comp),mingw)
 endif
 
 ifeq ($(os),osx)
 endif
 
 ifeq ($(os),osx)
-       LDFLAGS += -arch $(arch) -mmacosx-version-min=10.0
+       LDFLAGS += -arch $(arch) -mmacosx-version-min=10.0 -stack_size,0x4000
 endif
 
 ### 3.4 Debugging
 endif
 
 ### 3.4 Debugging
@@ -311,7 +311,7 @@ ifeq ($(optimize),yes)
                ifeq ($(os),osx)
                        CXXFLAGS += -fast -mdynamic-no-pic
                else
                ifeq ($(os),osx)
                        CXXFLAGS += -fast -mdynamic-no-pic
                else
-                       CXXFLAGS += -O3
+                       CXXFLAGS += -fast
                endif
        endif
 
                endif
        endif