[packages/gtk-webkit4] - add -DNDEBUG not being in effect in current cmake macro; release 2
qboosh
qboosh at pld-linux.org
Sat Mar 8 08:28:01 CET 2025
commit d53a2d8ac8005dab7ab4d7cdb8bc88a91f4a748c
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Sat Mar 8 07:10:47 2025 +0100
- add -DNDEBUG not being in effect in current cmake macro; release 2
gtk-webkit4.spec | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
---
diff --git a/gtk-webkit4.spec b/gtk-webkit4.spec
index 31f95b7..1f11f12 100644
--- a/gtk-webkit4.spec
+++ b/gtk-webkit4.spec
@@ -24,7 +24,7 @@ Summary(pl.UTF-8): Port osadzalnego komponentu WWW WebKit do GTK+ 3
Name: gtk-webkit4
# NOTE: 2.46.x is stable, 2.47.x devel
Version: 2.46.6
-Release: 1
+Release: 2
License: BSD-like
Group: X11/Libraries
Source0: https://webkitgtk.org/releases/webkitgtk-%{version}.tar.xz
@@ -312,9 +312,7 @@ Dokumentacja API portu WebKitu do GTK 4.
%patch -P 3 -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}"
for kind in %{?with_gtk3:%{?with_libsoup2:soup2} %{?with_libsoup3:soup3}} %{?with_gtk4:gtk4} ; do
%cmake -B build-${kind} \
-DENABLE_GEOLOCATION=ON \
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/gtk-webkit4.git/commitdiff/d53a2d8ac8005dab7ab4d7cdb8bc88a91f4a748c
More information about the pld-cvs-commit
mailing list