X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2FMakefile;fp=src%2FMakefile;h=74ef87b94ed0da554e6a152a878daab1ec697014;hp=b969ba0466599ec7f10f8682b43c3096e8dfb2e4;hb=34f67c57223d73ad40d583ccc033c75eb0df2453;hpb=cbcb05ca092160137c166f84e7e9da3d6bb4e2d3 diff --git a/src/Makefile b/src/Makefile index b969ba04..74ef87b9 100644 --- a/src/Makefile +++ b/src/Makefile @@ -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