make sure pthread and atomic isnt called in macOS
This commit is contained in:
1 parent
22d7adf0c0
commit
c73de57320
1 file changed
+2
-4
@@ -12,13 +12,11 @@ INSTALLTOOLS = $(BINS)
|
||||
include ../../Makefile.host
|
||||
# checking platform can be done only after Makefile.host
|
||||
|
||||
# Atomic
|
||||
# Atomic / pThread
|
||||
# RPi Zero gcc requires -latomic
|
||||
MYLDLIBS += -latomic
|
||||
|
||||
# macOS might not like pthread?
|
||||
ifneq ($(platform),Darwin)
|
||||
MYLDLIBS += -lpthread
|
||||
MYLDLIBS += -lpthread -latomic
|
||||
endif
|
||||
|
||||
# macOS needs c++14 standard when compiling c++
|
||||
|
||||
Reference in new issue
Block a user