fixed compilation with older clang versions (nw)

This commit is contained in:
Oliver Stöneberg 2014-02-20 20:01:35 +00:00
parent 0a3992f25b
commit 982e007ab3

View File

@ -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