]> git.sesse.net Git - stockfish/blobdiff - src/Makefile
Instructions to build on older Macintosh
[stockfish] / src / Makefile
index b969ba0466599ec7f10f8682b43c3096e8dfb2e4..b0274504227f37358a7751f4d184ba0f6cb438fa 100644 (file)
@@ -370,7 +370,7 @@ else
 endif
 endif
 
-ifeq ($(KERNEL),Darwin)
+ifeq ($(KERNEL),Darwin) 
        CXXFLAGS += -arch $(arch) -mmacosx-version-min=10.14
        LDFLAGS += -arch $(arch) -mmacosx-version-min=10.14
        XCRUN = xcrun
@@ -417,6 +417,7 @@ endif
 
 ### On mingw use Windows threads, otherwise POSIX
 ifneq ($(comp),mingw)
+       CXXFLAGS += -DUSE_PTHREADS
        # On Android Bionic's C library comes with its own pthread implementation bundled in
        ifneq ($(OS),Android)
                # Haiku has pthreads in its libroot, so only link it in on other platforms