mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-20 05:13:46 -07:00
make sure pthread and atomic isnt called in macOS
This commit is contained in:
parent
22d7adf0c0
commit
c73de57320
1 changed files with 2 additions and 4 deletions
|
@ -12,13 +12,11 @@ INSTALLTOOLS = $(BINS)
|
||||||
include ../../Makefile.host
|
include ../../Makefile.host
|
||||||
# checking platform can be done only after Makefile.host
|
# checking platform can be done only after Makefile.host
|
||||||
|
|
||||||
# Atomic
|
# Atomic / pThread
|
||||||
# RPi Zero gcc requires -latomic
|
# RPi Zero gcc requires -latomic
|
||||||
MYLDLIBS += -latomic
|
|
||||||
|
|
||||||
# macOS might not like pthread?
|
# macOS might not like pthread?
|
||||||
ifneq ($(platform),Darwin)
|
ifneq ($(platform),Darwin)
|
||||||
MYLDLIBS += -lpthread
|
MYLDLIBS += -lpthread -latomic
|
||||||
endif
|
endif
|
||||||
|
|
||||||
# macOS needs c++14 standard when compiling c++
|
# macOS needs c++14 standard when compiling c++
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue