]> git.sesse.net Git - stockfish/blobdiff - src/Makefile
Tweak Makefile a bit
[stockfish] / src / Makefile
index fd18b862cd9c3c1cda2a43117052f2f9ab8ceb0d..b316129be96c62063b80527cd4d0788539fc76fd 100644 (file)
@@ -219,7 +219,7 @@ ifeq ($(COMP),icc)
 endif
 
 ### 3.2 General compiler settings
-CXXFLAGS += -g -Wall -fno-exceptions -fno-rtti $(EXTRACXXFLAGS)
+CXXFLAGS = -g -Wall -fno-exceptions -fno-rtti $(EXTRACXXFLAGS)
 
 ifeq ($(comp),icc)
        CXXFLAGS += -wd383,869,981,10187,10188,11505,11503
@@ -230,7 +230,7 @@ ifeq ($(os),osx)
 endif
 
 ### 3.3 General linker settings
-LDFLAGS += -lpthread $(EXTRALDFLAGS)
+LDFLAGS = -lpthread $(EXTRALDFLAGS)
 
 ifeq ($(os),osx)
        LDFLAGS += -arch $(arch)