X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2FMakefile;h=b6ffbe823cbb130a58702c8b09b7a94dc5bf81d4;hp=d68ae675244b5614b6899610f456906a7cd31579;hb=5f4d9309c8802aa0b84b857b49877cc753fde400;hpb=436c3037310ad997f85a5da0685b6bc91699163b diff --git a/src/Makefile b/src/Makefile index d68ae675..b6ffbe82 100644 --- a/src/Makefile +++ b/src/Makefile @@ -197,6 +197,11 @@ ifeq ($(UNAME),Darwin) LDFLAGS += -arch $(arch) -mmacosx-version-min=10.9 endif +### Travis CI script uses COMPILER to overwrite CXX +ifdef COMPILER + CXX=$(COMPILER) +endif + ### On mingw use Windows threads, otherwise POSIX ifneq ($(comp),mingw) # On Android Bionic's C library comes with its own pthread implementation bundled in