From 01b5fc27f0b649bceb604ed5f1b39c5dfcb16656 Mon Sep 17 00:00:00 2001 From: Sergio Durigan Junior Date: Fri, 16 Jun 2023 15:59:41 -0400 Subject: [PATCH] Disable Ubuntu's LTO on ppc64el --- debian/rules | 3 +++ 1 file changed, 3 insertions(+) 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 %: -- 2.30.2