mirror of
https://github.com/RGBCube/serenity
synced 2025-05-20 14:25:08 +00:00
15 lines
495 B
CMake
15 lines
495 B
CMake
include(${CMAKE_CURRENT_LIST_DIR}/common_compile_options.cmake)
|
|
|
|
add_compile_options(-Wno-implicit-const-int-float-conversion)
|
|
add_compile_options(-Wno-literal-suffix)
|
|
add_compile_options(-Wno-maybe-uninitialized)
|
|
add_compile_options(-Wno-shorten-64-to-32)
|
|
add_compile_options(-fsigned-char)
|
|
add_compile_options(-g1)
|
|
add_compile_options(-O2)
|
|
if (NOT ENABLE_FUZZERS AND NOT APPLE)
|
|
add_compile_options(-fno-semantic-interposition)
|
|
endif()
|
|
if (NOT WIN32)
|
|
add_compile_options(-fPIC)
|
|
endif()
|