Package: webkit2gtk
Version: 2.34.2-1
Severity: minor
Dear maintainers,
Webkitgtk fails to build with lto, that's not a problem for Debian at
the moment but we carry a delta in Ubuntu where LTO is enabled by
default. The option shouldn't be an issue for Debian and allows us to
lower the delta and might be useful for Debian as well at some point.
Thanks for considering the attached patch,
Sebastien Bacher
diff -Nru webkit2gtk-2.34.2/debian/changelog webkit2gtk-2.34.2/debian/changelog
--- webkit2gtk-2.34.2/debian/changelog 2021-11-24 15:56:26.000000000 +0100
+++ webkit2gtk-2.34.2/debian/changelog 2021-11-25 18:51:31.000000000 +0100
@@ -1,3 +1,11 @@
+webkit2gtk (2.34.2-2) UNRELEASED; urgency=medium
+
+ * debian/rules:
+ - explicitly disable lto since when it's on the build is failing,
+ that doesn't impact Debian by default but is an issue on Ubuntu
+
+ -- Sebastien Bacher <seb...@debian.org> Thu, 25 Nov 2021 18:51:31 +0100
+
webkit2gtk (2.34.2-1) unstable; urgency=medium
* New upstream release.
diff -Nru webkit2gtk-2.34.2/debian/rules webkit2gtk-2.34.2/debian/rules
--- webkit2gtk-2.34.2/debian/rules 2021-11-24 15:56:26.000000000 +0100
+++ webkit2gtk-2.34.2/debian/rules 2021-11-25 18:51:31.000000000 +0100
@@ -1,6 +1,6 @@
#!/usr/bin/make -f
-export DEB_BUILD_MAINT_OPTIONS = hardening=+all
+export DEB_BUILD_MAINT_OPTIONS = hardening=+all optimize=-lto
include /usr/share/dpkg/architecture.mk
include /usr/share/dpkg/buildflags.mk