summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2020-07-24 02:57:11 +0200
committerAndreas Kling <kling@serenityos.org>2020-07-24 02:57:11 +0200
commitdc4327c54be914ca2917cdb2ee34a5717b8648c3 (patch)
tree941dc0061e8ecea2f40a07a590584c3e7848316e
parentcd4bc81dbb7237d61f4acf4dd2091d8b1b19b8be (diff)
downloadserenity-dc4327c54be914ca2917cdb2ee34a5717b8648c3.zip
Build: Remove two unnecessary CXXFLAGS
Seems like we can build without these two flags now: -Wno-sized-deallocation -fno-sized-deallocation I don't remember why they were needed in the first place.
-rw-r--r--CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index e2e485f3f5..5c948eb2b3 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -144,7 +144,7 @@ set(CMAKE_SHARED_LIBRARY_CREATE_CXX_FLAGS "-shared")
#FIXME: -fstack-protector
-set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Os -g1 -Wno-sized-deallocation -fno-sized-deallocation -fno-exceptions -fno-rtti -Wno-address-of-packed-member -Wundef -Wcast-qual -Wwrite-strings -Wimplicit-fallthrough -Wno-nonnull-compare -Wno-deprecated-copy -Wno-expansion-to-defined")
+set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Os -g1 -fno-exceptions -fno-rtti -Wno-address-of-packed-member -Wundef -Wcast-qual -Wwrite-strings -Wimplicit-fallthrough -Wno-nonnull-compare -Wno-deprecated-copy -Wno-expansion-to-defined")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -DDEBUG -DSANITIZE_PTRS")
add_link_options(--sysroot ${CMAKE_BINARY_DIR}/Root)