[neon/qt/qtbase/Neon/release] debian: Stop adding -Wl,--as-needed explicitly.

Dmitry Shachnev null at kde.org
Thu May 5 10:59:26 BST 2022


Git commit a1b792e080ccc7e1b1e6344f10ea6a653b65cf7b by Dmitry Shachnev.
Committed on 04/03/2022 at 17:58.
Pushed by jriddell into branch 'Neon/release'.

Stop adding -Wl,--as-needed explicitly.

It is now the default.

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

https://invent.kde.org/neon/qt/qtbase/commit/a1b792e080ccc7e1b1e6344f10ea6a653b65cf7b

diff --git a/debian/changelog b/debian/changelog
index ef70d1b..43a91d7 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -13,6 +13,7 @@ qtbase-opensource-src (5.15.3+dfsg-1) UNRELEASED; urgency=medium
   * Bump ABI version to qtbase-abi-5-15-3.
   * Update symbols files from the current build logs.
   * Exclude one more RFC file from the tarball.
+  * Stop adding -Wl,--as-needed explicitly.
 
  -- Debian Qt/KDE Maintainers <debian-qt-kde at lists.debian.org>  Thu, 03 Mar 2022 22:13:09 +0300
 
diff --git a/debian/rules b/debian/rules
index 8c68d3e..5333568 100755
--- a/debian/rules
+++ b/debian/rules
@@ -12,7 +12,7 @@ include /usr/share/dpkg/pkg-info.mk
 export PATH := $(PATH):$(shell pwd)/bin
 export CFLAGS := $(shell dpkg-buildflags --get CFLAGS) $(shell dpkg-buildflags --get CPPFLAGS) $(shell getconf LFS_CFLAGS)
 export CXXFLAGS := $(shell dpkg-buildflags --get CXXFLAGS) $(shell dpkg-buildflags --get CPPFLAGS) $(shell getconf LFS_CFLAGS)
-export LDFLAGS := $(shell dpkg-buildflags --get LDFLAGS) -Wl,--as-needed
+export LDFLAGS := $(shell dpkg-buildflags --get LDFLAGS)
 export PKG_CONFIG := /usr/bin/$(DEB_HOST_GNU_TYPE)-pkg-config
 sslpkgname := $(shell dpkg-query --show '--showformat=$${Depends}' libssl-dev | cut -d ' ' -f1)
 



More information about the Neon-commits mailing list