mirror of
https://github.com/holub/mame
synced 2025-10-04 16:34:53 +03:00
fixed compilation with older clang versions (nw)
This commit is contained in:
parent
0a3992f25b
commit
982e007ab3
9
makefile
9
makefile
@ -559,8 +559,13 @@ CCOMFLAGS += \
|
||||
-Wno-constant-logical-operand \
|
||||
-Wno-format-security \
|
||||
-Wno-shift-count-overflow \
|
||||
-Wno-self-assign-field \
|
||||
-Wno-inline-new-delete
|
||||
-Wno-self-assign-field
|
||||
|
||||
# TODO: needs to use $(CC)
|
||||
TEST_CLANG := $(shell clang --version)
|
||||
ifeq ($(findstring 3.4,$(TEST_CLANG)),3.4)
|
||||
CCOMFLAGS += -Wno-inline-new-delete
|
||||
endif
|
||||
endif
|
||||
|
||||
ifdef SANITIZE
|
||||
|
Loading…
Reference in New Issue
Block a user