fix tools compilation with clang
This commit is contained in:
1 parent
52980ac48b
commit
b700b1cd08
3 files changed
+5
-5
No files matched your search
@@ -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