Debian Codegraph @

sdk/cmake/vcpkg_overlay_ports/libdeflate/remove_wrong_c_flags_modification.diff

raw
1 diff --git a/CMakeLists.txt b/CMakeLists.txt
2 index 0acd26f..218c48b 100644
3 --- a/CMakeLists.txt
4 +++ b/CMakeLists.txt
5 @@ -61,7 +61,6 @@ if(NOT LIBDEFLATE_BUILD_STATIC_LIB)
6 endif()
7
8 # Set common C compiler flags for all targets (the library and the programs).
9 -set(CMAKE_C_FLAGS_RELEASE "-O2 -DNDEBUG")
10 set(CMAKE_C_STANDARD 99)
11 if(NOT MSVC)
12 check_c_compiler_flag(-Wdeclaration-after-statement HAVE_WDECLARATION_AFTER_STATEMENT)