X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2FMakefile;h=65ef297ee837bc3c37566e8e2f33ddb3f212e92c;hp=9d18344f44a4a78f08f1a0368128c26c9f83d347;hb=50182f11004334177ceeebb93d4b7eadb67aadb9;hpb=558b0c848cf4c0bf635cf99a6ce17ab9b434b601 diff --git a/src/Makefile b/src/Makefile index 9d18344f..65ef297e 100644 --- a/src/Makefile +++ b/src/Makefile @@ -141,6 +141,7 @@ endif ### 3.1 Selecting compiler (default = gcc) CXXFLAGS += -Wall -Wcast-qual -fno-exceptions -fno-rtti -std=c++11 $(EXTRACXXFLAGS) +DEPENDFLAGS += -std=c++11 LDFLAGS += $(EXTRALDFLAGS) ifeq ($(COMP),) @@ -162,7 +163,7 @@ ifeq ($(COMP),mingw) comp=mingw CXX=g++ CXXFLAGS += -Wextra -Wshadow - LDFLAGS += -static-libstdc++ -static-libgcc + LDFLAGS += -static endif ifeq ($(COMP),icc) @@ -177,6 +178,7 @@ ifeq ($(COMP),clang) CXXFLAGS += -pedantic -Wno-long-long -Wextra -Wshadow ifeq ($(UNAME),Darwin) CXXFLAGS += -std=c++0x -stdlib=libc++ + DEPENDFLAGS += -std=c++0x -stdlib=libc++ endif endif