mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 11:57:35 +00:00
Build: Disable unknown GCC specific warnings when compiling host tools using clang
This commit is contained in:
parent
18e3e4f236
commit
250f6b9a1e
1 changed files with 4 additions and 0 deletions
|
@ -23,6 +23,10 @@ INCLUDE_FLAGS += \
|
||||||
VERBOSE = 0
|
VERBOSE = 0
|
||||||
|
|
||||||
ifneq ($(HOST_CXX),)
|
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++
|
CXX = $(PRE_CXX) g++
|
||||||
AS = as
|
AS = as
|
||||||
LINK = ld
|
LINK = ld
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue