[neon/qt/qtsvg/Neon/testing] debian: Stop adding -Wl,--as-needed to LDFLAGS, it is default in Bullseye.

Dmitry Shachnev null at kde.org
Tue May 18 14:03:07 BST 2021


Git commit 7c10676bdfe05907f26adca112d589b14679e6d2 by Dmitry Shachnev.
Committed on 20/11/2020 at 18:16.
Pushed by sitter into branch 'Neon/testing'.

Stop adding -Wl,--as-needed to LDFLAGS, it is default in Bullseye.

M  +1    -0    debian/changelog
M  +1    -1    debian/rules

https://invent.kde.org/neon/qt/qtsvg/commit/7c10676bdfe05907f26adca112d589b14679e6d2

diff --git a/debian/changelog b/debian/changelog
index fe608d2..e876fbc 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -8,6 +8,7 @@ qtsvg-opensource-src (5.15.2-1) UNRELEASED; urgency=medium
   * New upstream release.
   * Bump Qt build-dependencies to 5.15.2.
   * Bump ABI version to qtsvg-abi-5-15-2.
+  * Stop adding -Wl,--as-needed to LDFLAGS, it is default in Bullseye.
 
  -- Debian Janitor <janitor at jelmer.uk>  Sun, 01 Nov 2020 13:13:12 -0000
 
diff --git a/debian/rules b/debian/rules
index 9cf818b..dbc2782 100755
--- a/debian/rules
+++ b/debian/rules
@@ -5,7 +5,7 @@
 
 export CFLAGS := $(shell dpkg-buildflags --get CFLAGS) $(shell dpkg-buildflags --get CPPFLAGS)
 export CXXFLAGS := $(shell dpkg-buildflags --get CXXFLAGS) $(shell dpkg-buildflags --get CPPFLAGS)
-export LDFLAGS := $(shell dpkg-buildflags --get LDFLAGS) -Wl,--as-needed
+export LDFLAGS := $(shell dpkg-buildflags --get LDFLAGS)
 export QT_SELECT := qt5
 
 DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)



More information about the Neon-commits mailing list