From: Sergio Durigan Junior Date: Fri, 16 Jun 2023 19:59:41 +0000 (-0400) Subject: Disable Ubuntu's LTO on ppc64el X-Git-Tag: archive/raspbian/10.20250416-2+rpi1~1^2~43 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=01b5fc27f0b649bceb604ed5f1b39c5dfcb16656;p=git-annex.git Disable Ubuntu's LTO on ppc64el --- diff --git a/debian/rules b/debian/rules index 1d8d167a9b..c19da8bb98 100755 --- a/debian/rules +++ b/debian/rules @@ -30,6 +30,9 @@ export ZSH_COMPLETIONS_PATH=/usr/share/zsh/vendor-completions ifeq (yes, $(shell dpkg-vendor --derives-from Ubuntu && echo yes)) # See LP: #2019992 export DEB_LDFLAGS_MAINT_STRIP = -Wl,-Bsymbolic-functions +ifneq (,$(filter $(DEB_HOST_ARCH), ppc64el)) +export DEB_BUILD_MAINT_OPTIONS = optimize=-lto +endif endif %: