diff options
author | Stefano Cristiano <sc@recognitionrobotics.com> | 2019-12-25 17:06:37 +0100 |
---|---|---|
committer | Andreas Kling <awesomekling@gmail.com> | 2019-12-27 02:19:55 +0100 |
commit | 250f6b9a1e75895608a40e39487ba54975563ff5 (patch) | |
tree | 08da7448b2f8fc504ba6f8c40736b19b6c1e5d0f | |
parent | 18e3e4f236e1ea6e0343058df00192b5ae1e5e13 (diff) | |
download | serenity-250f6b9a1e75895608a40e39487ba54975563ff5.zip |
Build: Disable unknown GCC specific warnings when compiling host tools using clang
-rw-r--r-- | Makefile.common | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile.common b/Makefile.common index edd1c130db..c73de3c063 100644 --- a/Makefile.common +++ b/Makefile.common @@ -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 |