summaryrefslogtreecommitdiff
path: root/Libraries/LibC/CMakeLists.txt
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2020-09-01 11:59:55 +0200
committerAndreas Kling <kling@serenityos.org>2020-09-01 12:00:53 +0200
commite002cbb06ba53e2ffd3b2078d5198ec4f88918b9 (patch)
tree1fc0847bc895195bc139a68bfb383fa397aaa897 /Libraries/LibC/CMakeLists.txt
parent084a5c6a9041657a63f85591d4af1d82c5bb3925 (diff)
downloadserenity-e002cbb06ba53e2ffd3b2078d5198ec4f88918b9.zip
Build: Add some -Wno-unknown-warning-option flags to CXXFLAGS
Patch from Anonymous.
Diffstat (limited to 'Libraries/LibC/CMakeLists.txt')
-rw-r--r--Libraries/LibC/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
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)