mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-14 13:32:23 +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: 250f6b9a1e
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
|
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