[packages/gtk-webkit4] - fixed build with lowmem (build fails without -DNDEBUG due to assertions code inconsistency)

qboosh qboosh at pld-linux.org
Sun Apr 7 12:40:13 CEST 2024


commit 4edd3facf6c5a57cf6cbccfb4e16781266cbd6cc
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Sun Apr 7 11:41:29 2024 +0200

    - fixed build with lowmem (build fails without -DNDEBUG due to assertions code inconsistency)

 gtk-webkit4.spec | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/gtk-webkit4.spec b/gtk-webkit4.spec
index 2796173..3911dcc 100644
--- a/gtk-webkit4.spec
+++ b/gtk-webkit4.spec
@@ -322,7 +322,7 @@ Dokumentacja API portu WebKitu do GTK 4.
 
 %build
 %if %{with lowmem}
-CXXFLAGS="%{rpmcxxflags} --param ggc-min-expand=20 --param ggc-min-heapsize=65536"
+CXXFLAGS="%{rpmcxxflags} -DNDEBUG --param ggc-min-expand=20 --param ggc-min-heapsize=65536"
 %endif
 for kind in %{?with_gtk3:%{?with_libsoup2:soup2} %{?with_libsoup3:soup3}} %{?with_gtk4:gtk4} ; do
 %cmake -B build-${kind} \
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/gtk-webkit4.git/commitdiff/4edd3facf6c5a57cf6cbccfb4e16781266cbd6cc



More information about the pld-cvs-commit mailing list