Build: Disable deprecated volatile warning
We will probably need to fix this at some stage, but for now let's just disable the warning.
This commit is contained in:
parent
2ffbdf5680
commit
3d153e5ed3
Notes:
sideshowbarker
2024-07-19 06:37:28 +09:00
Author: https://github.com/shannonbooth Commit: https://github.com/SerenityOS/serenity/commit/3d153e5ed3b Pull-request: https://github.com/SerenityOS/serenity/pull/2244
1 changed files with 1 additions and 1 deletions
|
@ -96,7 +96,7 @@ 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-volatile")
|
||||
|
||||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -DDEBUG -DSANITIZE_PTRS")
|
||||
add_link_options(--sysroot ${CMAKE_BINARY_DIR}/Root)
|
||||
|
|
Loading…
Add table
Reference in a new issue