diff options
| author | 2014-02-20 20:01:35 +0000 | |
|---|---|---|
| committer | 2014-02-20 20:01:35 +0000 | |
| commit | 982e007ab3af5aab8ca0d73778e4dd3e7fc24973 (patch) | |
| tree | 911872b4d1a1783591093db9632c42adf97b2d18 /makefile | |
| parent | 0a3992f25bdc1386a9ba6c7da7ef8aa44b5ec60e (diff) | |
fixed compilation with older clang versions (nw)
Diffstat (limited to 'makefile')
| -rw-r--r-- | makefile | 9 |
1 files changed, 7 insertions, 2 deletions
@@ -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 |
