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

Dmitry Shachnev null at kde.org
Wed May 19 11:53:42 BST 2021


Git commit 0ccb5b4f5f11040e60dc526e0de8d7c7c98d858d by Dmitry Shachnev.
Committed on 20/11/2020 at 18:17.
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/qtwebengine/commit/0ccb5b4f5f11040e60dc526e0de8d7c7c98d858d

diff --git a/debian/changelog b/debian/changelog
index 281df6d..a292165 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -9,6 +9,7 @@ qtwebengine-opensource-src (5.15.2+dfsg-1) UNRELEASED; urgency=medium
     - webrtc-crash.patch
     - compile-pdf-examples.patch
   * Refresh and rebase other patches.
+  * Stop adding -Wl,--as-needed to LDFLAGS, it is default in Bullseye.
 
  -- Debian Qt/KDE Maintainers <debian-qt-kde at lists.debian.org>  Fri, 20 Nov 2020 20:14:02 +0300
 
diff --git a/debian/rules b/debian/rules
index 9254201..0f76c57 100755
--- a/debian/rules
+++ b/debian/rules
@@ -16,7 +16,7 @@ endif
 
 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
 
 VERSION_CLEAN_UPSTREAM = $(call dpkg_late_eval,VERSION_CLEAN_UPSTREAM,echo '$(DEB_VERSION_UPSTREAM)' | sed -e 's/\(~\|+\).*//')



More information about the Neon-commits mailing list