From bffb18b81599fd2a85d90100da6b5b553ef6d343 Mon Sep 17 00:00:00 2001 From: Sergio Durigan Junior Date: Tue, 13 Jun 2023 16:40:41 -0400 Subject: [PATCH] d/rules: Strip -Wl,-Bsymbolic-functions from LDFLAGS on Ubuntu. --- debian/rules | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/debian/rules b/debian/rules index eb63c7e7de..1d8d167a9b 100755 --- a/debian/rules +++ b/debian/rules @@ -27,6 +27,11 @@ export RELEASE_BUILD=1 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 +endif + %: dh $@ -- 2.30.2