mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-25 00:50:22 +00:00
Build: Use -Wno-expansion-to-defined
This commit is contained in:
parent
ccc4cf915a
commit
b7357d1a3a
Notes:
sideshowbarker
2024-07-19 06:35:49 +09:00
Author: https://github.com/zpl-zak Commit: https://github.com/SerenityOS/serenity/commit/b7357d1a3ad Pull-request: https://github.com/SerenityOS/serenity/pull/2248
1 changed files with 1 additions and 5 deletions
|
@ -96,15 +96,11 @@ set(CMAKE_AR ${TOOLCHAIN_PREFIX}ar)
|
|||
|
||||
#FIXME: -fstack-protector
|
||||
|
||||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Os -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")
|
||||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Os -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} -DDEBUG -DSANITIZE_PTRS")
|
||||
add_link_options(--sysroot ${CMAKE_BINARY_DIR}/Root)
|
||||
|
||||
if ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "GNU")
|
||||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-expansion-to-defined")
|
||||
endif()
|
||||
|
||||
include_directories(Libraries/LibC)
|
||||
include_directories(Services)
|
||||
include_directories(${CMAKE_CURRENT_BINARY_DIR}/Services)
|
||||
|
|
Loading…
Reference in a new issue