[neon/qt/qtnetworkauth/Neon/testing] debian: Remove -Wl,--as-needed from linker flags, it is now default.

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


Git commit a5d6e59ccc74327947e0f92ff99a9a9da0d0cd06 by Dmitry Shachnev.
Committed on 19/09/2020 at 17:40.
Pushed by sitter into branch 'Neon/testing'.

Remove -Wl,--as-needed from linker flags, it is now default.

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

https://invent.kde.org/neon/qt/qtnetworkauth/commit/a5d6e59ccc74327947e0f92ff99a9a9da0d0cd06

diff --git a/debian/changelog b/debian/changelog
index 9e7b6e9..092581e 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -13,6 +13,7 @@ qtnetworkauth-everywhere-src (5.15.1-1) UNRELEASED; urgency=medium
   * Refresh disable_tests_network.diff.
   * Make sure private headers are not installed.
   * Remove build path from libQt5NetworkAuth.prl for reproducibility.
+  * Remove -Wl,--as-needed from linker flags, it is now default.
 
  -- Debian Qt/KDE Maintainers <debian-qt-kde at lists.debian.org>  Tue, 15 Sep 2020 12:56:28 -0700
 
diff --git a/debian/rules b/debian/rules
index 71148cb..aed251b 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