summaryrefslogtreecommitdiff
path: root/archivers/libdeflate/files/patch-CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'archivers/libdeflate/files/patch-CMakeLists.txt')
-rw-r--r--archivers/libdeflate/files/patch-CMakeLists.txt11
1 files changed, 11 insertions, 0 deletions
diff --git a/archivers/libdeflate/files/patch-CMakeLists.txt b/archivers/libdeflate/files/patch-CMakeLists.txt
new file mode 100644
index 000000000000..b3a936908b33
--- /dev/null
+++ b/archivers/libdeflate/files/patch-CMakeLists.txt
@@ -0,0 +1,11 @@
+--- CMakeLists.txt.orig 2024-12-11 06:30:24 UTC
++++ CMakeLists.txt
+@@ -61,7 +61,7 @@ endif()
+ endif()
+
+ # Set common C compiler flags for all targets (the library and the programs).
+-set(CMAKE_C_FLAGS_RELEASE "-O2 -DNDEBUG")
++# set(CMAKE_C_FLAGS_RELEASE "-O2 -DNDEBUG")
+ set(CMAKE_C_STANDARD 99)
+ if(NOT MSVC)
+ check_c_compiler_flag(-Wdeclaration-after-statement HAVE_WDECLARATION_AFTER_STATEMENT)