aboutsummaryrefslogtreecommitdiff
path: root/ports/zstd/enable-debug-mode.patch
diff options
context:
space:
mode:
Diffstat (limited to 'ports/zstd/enable-debug-mode.patch')
-rw-r--r--ports/zstd/enable-debug-mode.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/ports/zstd/enable-debug-mode.patch b/ports/zstd/enable-debug-mode.patch
new file mode 100644
index 000000000..a3e829032
--- /dev/null
+++ b/ports/zstd/enable-debug-mode.patch
@@ -0,0 +1,13 @@
+diff --git a/build/cmake/CMakeLists.txt b/build/cmake/CMakeLists.txt
+index 1e2921d..31fe3d5 100644
+--- a/build/cmake/CMakeLists.txt
++++ b/build/cmake/CMakeLists.txt
+@@ -12,7 +12,7 @@ CMAKE_MINIMUM_REQUIRED(VERSION 2.8.9)
+ SET(ZSTD_SOURCE_DIR "${CMAKE_CURRENT_SOURCE_DIR}/../..")
+
+ # Ensure Release build even if not invoked via Makefile
+-SET(CMAKE_BUILD_TYPE "Release")
++# SET(CMAKE_BUILD_TYPE "Release")
+
+ LIST(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/CMakeModules")
+ INCLUDE(GNUInstallDirs)