mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-01-24 02:03:06 -05:00
8f988b7bae
For the most part no behavior change, except that we now pass -Wno-implicit-const-int-float-conversion and -Wno-literal-suffix only to clang and gcc each in both lagom and serenity builds, while we previously passed them to both in lagom builds (and passed them to one each in serenity builds). The former is a clang flag, the latter a gcc flag, but since we also use -Wno-unknown-warning-option it doesn't really matter.
13 lines
392 B
CMake
13 lines
392 B
CMake
include(${CMAKE_CURRENT_LIST_DIR}/common_compile_options.cmake)
|
|
|
|
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()
|