mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-27 01:50:24 +00:00
Build: Disable unknown GCC specific warnings when compiling host tools using clang
This commit is contained in:
parent
18e3e4f236
commit
250f6b9a1e
Notes:
sideshowbarker
2024-07-19 17:42:21 +09:00
Author: https://github.com/Pagghiu Commit: https://github.com/SerenityOS/serenity/commit/250f6b9a1e7 Pull-request: https://github.com/SerenityOS/serenity/pull/841 Reviewed-by: https://github.com/awesomekling Reviewed-by: https://github.com/bugaevc
1 changed files with 4 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue