[packages/wpe-webkit] - add -DNDEBUG not being in effect in current cmake macro
qboosh
qboosh at pld-linux.org
Sat Mar 8 13:16:55 CET 2025
commit 03663e66a097ec2f66402b82a258a458887303cc
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Sat Mar 8 12:25:45 2025 +0100
- add -DNDEBUG not being in effect in current cmake macro
wpe-webkit.spec | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
---
diff --git a/wpe-webkit.spec b/wpe-webkit.spec
index 4f6565d..a2b9cb1 100644
--- a/wpe-webkit.spec
+++ b/wpe-webkit.spec
@@ -164,9 +164,7 @@ Dokumentacja API portu WebKitu do WPE.
%patch -P4 -p1
%build
-%if %{with lowmem}
-CXXFLAGS="%{rpmcxxflags} -DNDEBUG --param ggc-min-expand=20 --param ggc-min-heapsize=65536"
-%endif
+CXXFLAGS="%{rpmcxxflags} -DNDEBUG %{?with_lowmem:--param ggc-min-expand=20 --param ggc-min-heapsize=65536}"
%cmake -B build-soup2 \
-DENABLE_GEOLOCATION=ON \
-DENABLE_GTKDOC=ON \
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/wpe-webkit.git/commitdiff/751739909627b701b3ddb1acbbaf1c09cde034e0
More information about the pld-cvs-commit
mailing list