mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-21 23:20:20 +00:00
Merge b1f1f319d7
into d6bcd3fb0b
This commit is contained in:
commit
fb6e249b08
1 changed files with 10 additions and 2 deletions
|
@ -29,9 +29,17 @@ if (CMAKE_BUILD_TYPE STREQUAL "Debug")
|
||||||
if (NOT MSVC)
|
if (NOT MSVC)
|
||||||
add_cxx_compile_options(-ggdb3)
|
add_cxx_compile_options(-ggdb3)
|
||||||
endif()
|
endif()
|
||||||
add_cxx_compile_options(-Og)
|
if ("$ENV{CXXFLAGS}" MATCHES "(^| )(-O(fast|.?))( |$)")
|
||||||
|
add_cxx_compile_options(${CMAKE_MATCH_0})
|
||||||
|
else ()
|
||||||
|
add_cxx_compile_options(-Og)
|
||||||
|
endif()
|
||||||
else()
|
else()
|
||||||
add_cxx_compile_options(-O2)
|
if ("$ENV{CXXFLAGS}" MATCHES "(^| )(-O(fast|.?))( |$)")
|
||||||
|
add_cxx_compile_options(${CMAKE_MATCH_0})
|
||||||
|
else ()
|
||||||
|
add_cxx_compile_options(-O2)
|
||||||
|
endif()
|
||||||
if (NOT MSVC)
|
if (NOT MSVC)
|
||||||
add_cxx_compile_options(-g1)
|
add_cxx_compile_options(-g1)
|
||||||
endif()
|
endif()
|
||||||
|
|
Loading…
Reference in a new issue