From e002cbb06ba53e2ffd3b2078d5198ec4f88918b9 Mon Sep 17 00:00:00 2001 From: Andreas Kling Date: Tue, 1 Sep 2020 11:59:55 +0200 Subject: Build: Add some -Wno-unknown-warning-option flags to CXXFLAGS Patch from Anonymous. --- Libraries/LibC/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Libraries/LibC/CMakeLists.txt') diff --git a/Libraries/LibC/CMakeLists.txt b/Libraries/LibC/CMakeLists.txt index 2875973518..7d8960be66 100644 --- a/Libraries/LibC/CMakeLists.txt +++ b/Libraries/LibC/CMakeLists.txt @@ -52,7 +52,7 @@ file(GLOB AK_SOURCES "../../AK/*.cpp") file(GLOB ELF_SOURCES "../LibELF/*.cpp") set(ELF_SOURCES ${ELF_SOURCES} ../LibELF/Arch/i386/plt_trampoline.S) -set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -DSERENITY_LIBC_BUILD") +set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-unknown-warning-option -DSERENITY_LIBC_BUILD") find_program(INSTALL_COMMAND ginstall) if(NOT INSTALL_COMMAND) -- cgit v1.2.3