X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2FMakefile;h=3e8aa51bb07d87bc4e7cac879a17de87185ec7d6;hp=fd18b862cd9c3c1cda2a43117052f2f9ab8ceb0d;hb=a98dee783582c84ca2647ca28daad0c9a13d1d35;hpb=d0fdc202315a211124f65965f88a3a0ed5b91953 diff --git a/src/Makefile b/src/Makefile index fd18b862..3e8aa51b 100644 --- a/src/Makefile +++ b/src/Makefile @@ -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) @@ -408,7 +408,7 @@ install: -strip $(BINDIR)/$(EXE) clean: - $(RM) $(EXE) *.o .depend *~ core bench.txt + $(RM) $(EXE) *.o .depend *~ core bench.txt *.gcda testrun: @$(PGOBENCH)