X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=src%2FMakefile;h=b6ffbe823cbb130a58702c8b09b7a94dc5bf81d4;hb=328d314f2faa128f6bed32e334190cdaed62d9bc;hp=d68ae675244b5614b6899610f456906a7cd31579;hpb=00563be5cc647a02f2300b5acb0647889f58e0fd;p=stockfish 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