[Git][debian-gis-team/gdal-grass][master] Explicitly disable --as-needed on Ubuntu. See: https://trac.osgeo.org/osgeolive/ticket/2068

Bas Couwenberg gitlab at salsa.debian.org
Sat Jun 9 21:44:21 BST 2018


Bas Couwenberg pushed to branch master at Debian GIS Project / gdal-grass


Commits:
07537c79 by Bas Couwenberg at 2018-06-09T22:44:13+02:00
Explicitly disable --as-needed on Ubuntu. See: https://trac.osgeo.org/osgeolive/ticket/2068

- - - - -


2 changed files:

- debian/changelog
- debian/rules


Changes:

=====================================
debian/changelog
=====================================
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+libgdal-grass (2.3.0-2) UNRELEASED; urgency=medium
+
+  * Explicitly disable --as-needed on Ubuntu.
+    See: https://trac.osgeo.org/osgeolive/ticket/2068
+
+ -- Bas Couwenberg <sebastic at debian.org>  Sat, 09 Jun 2018 22:43:46 +0200
+
 libgdal-grass (2.3.0-1) unstable; urgency=medium
 
   * Bump minimum GDAL version to 2.3.0.


=====================================
debian/rules
=====================================
--- a/debian/rules
+++ b/debian/rules
@@ -12,6 +12,7 @@ VENDOR_DERIVES_FROM_UBUNTU ?= $(shell dpkg-vendor --derives-from Ubuntu && echo 
 
 ifeq ($(VENDOR_DERIVES_FROM_UBUNTU),yes)
 	export DEB_BUILD_MAINT_OPTIONS=hardening=+all,-pie
+	export DEB_LDFLAGS_MAINT_APPEND=--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/commit/07537c79cd63236e2c262e9c52303f0c4f13a1c7

-- 
View it on GitLab: https://salsa.debian.org/debian-gis-team/gdal-grass/commit/07537c79cd63236e2c262e9c52303f0c4f13a1c7
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/20180609/e3606a96/attachment.html>


More information about the Pkg-grass-devel mailing list