mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2026-05-12 11:18:11 -07:00
fix tools compilation with clang
This commit is contained in:
+1
-1
@@ -394,7 +394,7 @@ ifeq ($(PYTHON_FOUND),1)
|
||||
endif
|
||||
|
||||
#######################################################################################################
|
||||
# macOS doesn't like this params
|
||||
# clang doesn't like this params
|
||||
#MYCFLAGS += --param max-completely-peeled-insns=1000 --param max-completely-peel-times=10000
|
||||
MYCFLAGS += -O3
|
||||
|
||||
|
||||
@@ -23,8 +23,8 @@ ifneq (,$(findstring MINGW,$(platform)))
|
||||
CFLAGS += -D_ISOC99_SOURCE
|
||||
endif
|
||||
|
||||
# macOS doesn't like these compiler params
|
||||
ifneq ($(platform),Darwin)
|
||||
# clang doesn't like these compiler params
|
||||
ifneq ($(DETECTED_COMPILER), clang)
|
||||
MYCFLAGS += --param max-completely-peeled-insns=1000 --param max-completely-peel-times=10000
|
||||
endif
|
||||
|
||||
|
||||
@@ -21,8 +21,8 @@ ifneq (,$(findstring MINGW,$(platform)))
|
||||
CFLAGS += -D_ISOC99_SOURCE
|
||||
endif
|
||||
|
||||
# macOS doesn't like these compiler params
|
||||
ifneq ($(platform),Darwin)
|
||||
# clang doesn't like these compiler params
|
||||
ifneq ($(DETECTED_COMPILER), clang)
|
||||
MYCFLAGS += --param max-completely-peeled-insns=1000 --param max-completely-peel-times=10000
|
||||
endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user