summaryrefslogblamecommitdiffstatshomepage
path: root/src/build/flags_clang.mak
blob: d0a9cc52ab60f0348d3983bc6d4eadb70f63bd57 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13












                                          




                               
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

ifeq ($(TARGETOS),emscripten)
CCOMFLAGS += -Qunused-arguments
endif