]> git.sesse.net Git - stockfish/blobdiff - src/Makefile
Travis CI: add clang and osx
[stockfish] / src / Makefile
index d68ae675244b5614b6899610f456906a7cd31579..b6ffbe823cbb130a58702c8b09b7a94dc5bf81d4 100644 (file)
@@ -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