aboutsummaryrefslogtreecommitdiffstats
path: root/community/php81-pecl-couchbase/cmake-build-type.patch
diff options
context:
space:
mode:
Diffstat (limited to 'community/php81-pecl-couchbase/cmake-build-type.patch')
-rw-r--r--community/php81-pecl-couchbase/cmake-build-type.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/community/php81-pecl-couchbase/cmake-build-type.patch b/community/php81-pecl-couchbase/cmake-build-type.patch
new file mode 100644
index 00000000000..fbc63b29527
--- /dev/null
+++ b/community/php81-pecl-couchbase/cmake-build-type.patch
@@ -0,0 +1,11 @@
+--- a/config.m4
++++ b/config.m4
+@@ -50,7 +50,7 @@
+ COUCHBASE_PHP_LIBDIR : ${phplibdir}
+ "
+ ${CMAKE} -S ${COUCHBASE_CMAKE_SOURCE_DIRECTORY} -B${COUCHBASE_CMAKE_BUILD_DIRECTORY} \
+- -DCMAKE_BUILD_TYPE=RelWithDebInfo \
++ -DCMAKE_BUILD_TYPE=MinSizeRel \
+ -DCMAKE_C_COMPILER="${CC}" \
+ -DCMAKE_CXX_COMPILER="${CXX}" \
+ -DCMAKE_C_FLAGS="${CFLAGS}" \