diff options
author | 2014-03-02 16:17:12 +0000 | |
---|---|---|
committer | 2014-03-02 16:17:12 +0000 | |
commit | 27266755914423e383ffbf12034a55604cfa39c6 (patch) | |
tree | a2a7a537e07173903385e6ea151edacda9804aee /makefile | |
parent | b1ee97db4c7900246752ef7d58a21a745871ad7f (diff) |
moved compiler-specific warning generation to shared files (nw)
Diffstat (limited to 'makefile')
-rw-r--r-- | makefile | 18 |
1 files changed, 2 insertions, 16 deletions
@@ -557,22 +557,8 @@ COBJFLAGS += \ # warnings only applicable to C++ compiles CPPONLYFLAGS += \ -Woverloaded-virtual - -ifneq (,$(findstring clang,$(CC))) -CCOMFLAGS += \ - -Wno-cast-align \ - -Wno-tautological-compare \ - -Wno-constant-logical-operand \ - -Wno-format-security \ - -Wno-shift-count-overflow \ - -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 + +include $(SRC)/build/cc_detection.mak ifdef SANITIZE CCOMFLAGS += -fsanitize=$(SANITIZE) |