mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-19 21:03:48 -07:00
Fix pthreads on older gcc
This commit is contained in:
parent
2b320929fc
commit
8bf4e7c25e
1 changed files with 5 additions and 0 deletions
|
@ -9,6 +9,11 @@ INSTALLTOOLS = $(BINS)
|
||||||
|
|
||||||
include ../../Makefile.host
|
include ../../Makefile.host
|
||||||
|
|
||||||
|
# nested_util.c needs pthread support. Older glibc needs it externally
|
||||||
|
ifneq ($(SKIPPTHREAD),1)
|
||||||
|
MYLDLIBS += -lpthread
|
||||||
|
endif
|
||||||
|
|
||||||
# checking platform can be done only after Makefile.host
|
# checking platform can be done only after Makefile.host
|
||||||
ifneq (,$(findstring MINGW,$(platform)))
|
ifneq (,$(findstring MINGW,$(platform)))
|
||||||
# Mingw uses by default Microsoft printf, we want the GNU printf (e.g. for %z)
|
# Mingw uses by default Microsoft printf, we want the GNU printf (e.g. for %z)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue