[Git][debian-gis-team/gdal-grass][experimental] 2 commits: Disable as-needed linking on Debian too, gcc-9 enables it by default.
Bas Couwenberg
gitlab at salsa.debian.org
Sun Sep 8 21:40:28 BST 2019
Bas Couwenberg pushed to branch experimental at Debian GIS Project / gdal-grass
Commits:
551e548c by Bas Couwenberg at 2019-09-08T20:23:00Z
Disable as-needed linking on Debian too, gcc-9 enables it by default.
- - - - -
50ec7fba by Bas Couwenberg at 2019-09-08T20:27:39Z
Set distribution to experimental.
- - - - -
2 changed files:
- debian/changelog
- debian/rules
Changes:
=====================================
debian/changelog
=====================================
@@ -1,3 +1,9 @@
+libgdal-grass (3.0.1-1~exp3) experimental; urgency=medium
+
+ * Disable as-needed linking on Debian too, gcc-9 enables it by default.
+
+ -- Bas Couwenberg <sebastic at debian.org> Sun, 08 Sep 2019 22:27:30 +0200
+
libgdal-grass (3.0.1-1~exp2) experimental; urgency=medium
* Update packaging for GRASS 7.8.0.
=====================================
debian/rules
=====================================
@@ -7,6 +7,9 @@
# Enable hardening build flags
export DEB_BUILD_MAINT_OPTIONS=hardening=+all
+# Don't link with as-needed to prevent missing libraries
+export DEB_LDFLAGS_MAINT_APPEND=-Wl,--no-as-needed
+
# Disable PIE on Ubuntu where it's still problematic
VENDOR_DERIVES_FROM_UBUNTU ?= $(shell dpkg-vendor --derives-from Ubuntu && echo yes)
DISTRIBUTION_RELEASE := $(shell lsb_release -cs)
@@ -15,7 +18,6 @@ ifeq ($(VENDOR_DERIVES_FROM_UBUNTU),yes)
ifneq (,$(filter $(DISTRIBUTION_RELEASE),xenial bionic))
export DEB_BUILD_MAINT_OPTIONS=hardening=+all,-pie
endif
- export DEB_LDFLAGS_MAINT_APPEND=-Wl,--no-as-needed
endif
PKGNAME=$(shell grep Package: debian/control | head -1 | cut -d' ' -f2)
View it on GitLab: https://salsa.debian.org/debian-gis-team/gdal-grass/compare/8d42e1a07ec9413c0046821a25d0b225e92b30fa...50ec7fba528b82240c760531dc1b20acf7a42ffc
--
View it on GitLab: https://salsa.debian.org/debian-gis-team/gdal-grass/compare/8d42e1a07ec9413c0046821a25d0b225e92b30fa...50ec7fba528b82240c760531dc1b20acf7a42ffc
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-grass-devel/attachments/20190908/d0039244/attachment-0001.html>
More information about the Pkg-grass-devel
mailing list