mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-20 21:33:47 -07:00
Revert "client Makefile: link with pthread only if needed"
This reverts commit 43b69bd4e4
.
This commit is contained in:
parent
43b69bd4e4
commit
6d0afbdbf3
1 changed files with 3 additions and 7 deletions
|
@ -22,17 +22,13 @@ vpath %.dic dictionaries
|
||||||
OBJDIR = obj
|
OBJDIR = obj
|
||||||
|
|
||||||
LDLIBS ?= -L/usr/local/lib
|
LDLIBS ?= -L/usr/local/lib
|
||||||
LDLIBS += -lreadline -lm
|
LDLIBS += -lreadline -lpthread -lm
|
||||||
|
|
||||||
# MacOSX /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld
|
# RPi Zero gcc requires -latomic
|
||||||
|
# but MacOSX /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld
|
||||||
# doesn't recognize option --as-needed
|
# doesn't recognize option --as-needed
|
||||||
ifneq ($(platform),Darwin)
|
ifneq ($(platform),Darwin)
|
||||||
# RPi Zero gcc requires -latomic
|
|
||||||
LDLIBS += -Wl,--as-needed -latomic -Wl,--no-as-needed
|
LDLIBS += -Wl,--as-needed -latomic -Wl,--no-as-needed
|
||||||
# Android Termux doesn't have pthread
|
|
||||||
LDLIBS += -Wl,--as-needed -lpthread -Wl,--no-as-needed
|
|
||||||
else
|
|
||||||
LDLIBS += -lpthread
|
|
||||||
endif
|
endif
|
||||||
|
|
||||||
# local libraries
|
# local libraries
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue