mirror of
https://github.com/HChaZZY/Stockfish.git
synced 2025-12-21 09:37:16 +08:00
Don't use lpthread for Android
Thanks to Peter Osterlund for the feedback. No functional change.
This commit is contained in:
@@ -263,11 +263,14 @@ endif
|
|||||||
|
|
||||||
### On mingw use Windows threads, otherwise POSIX
|
### On mingw use Windows threads, otherwise POSIX
|
||||||
ifneq ($(comp),mingw)
|
ifneq ($(comp),mingw)
|
||||||
|
# On Android Bionic's C library comes with its own pthread implementation bundled in
|
||||||
|
ifneq ($(arch),armv7)
|
||||||
# Haiku has pthreads in its libroot, so only link it in on other platforms
|
# Haiku has pthreads in its libroot, so only link it in on other platforms
|
||||||
ifneq ($(UNAME),Haiku)
|
ifneq ($(UNAME),Haiku)
|
||||||
LDFLAGS += -lpthread
|
LDFLAGS += -lpthread
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
endif
|
||||||
|
|
||||||
ifeq ($(os),osx)
|
ifeq ($(os),osx)
|
||||||
LDFLAGS += -arch $(arch) -mmacosx-version-min=10.0
|
LDFLAGS += -arch $(arch) -mmacosx-version-min=10.0
|
||||||
|
|||||||
Reference in New Issue
Block a user