Package: deepin-album
Followup-For: Bug #1015381
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu kinetic ubuntu-patch
Control: tags -1 patch

Hi,

In Ubuntu, we disabled LTO to fix the build:

  * debian/rules: disable LTO to fix the build (LP: #1984124).

Thanks,
Nick
diff -Nru deepin-album-5.9.1+dfsg/debian/rules 
deepin-album-5.9.1+dfsg/debian/rules
--- deepin-album-5.9.1+dfsg/debian/rules        2022-03-31 14:17:10.000000000 
-0400
+++ deepin-album-5.9.1+dfsg/debian/rules        2022-08-09 12:24:42.000000000 
-0400
@@ -1,6 +1,6 @@
 #!/usr/bin/make -f
 include /usr/share/dpkg/default.mk
-export DEB_BUILD_MAINT_OPTIONS = hardening=+all
+export DEB_BUILD_MAINT_OPTIONS = hardening=+all,optimize=-lto
 export DEB_CXXFLAGS_MAINT_APPEND = -Wl,-z,now
 
 export QT_SELECT := 5

Reply via email to