Build: Disable unknown GCC specific warnings when compiling host tools using clang

This commit is contained in:
Stefano Cristiano 2019-12-25 17:06:37 +01:00 committed by Andreas Kling
parent 18e3e4f236
commit 250f6b9a1e
Notes: sideshowbarker 2024-07-19 17:42:21 +09:00

View file

@ -23,6 +23,10 @@ INCLUDE_FLAGS += \
VERBOSE = 0
ifneq ($(HOST_CXX),)
ifeq '' '$(findstring clang++,$(CXX))'
C_WARNING_FLAGS += -Wno-unknown-warning-option
CXX_WARNING_FLAGS += -Wno-unknown-warning-option
endif
CXX = $(PRE_CXX) g++
AS = as
LINK = ld