Skip to content
GitLab
Explore
Sign in
Register
Commits on Source (2)
Disable as-needed linking on Debian too, gcc-9 enables it by default.
· 250b9d31
Bas Couwenberg
authored
Sep 08, 2019
250b9d31
Set distribution to unstable.
· 9b702e1a
Bas Couwenberg
authored
Sep 08, 2019
9b702e1a
Show whitespace changes
Inline
Side-by-side
debian/changelog
View file @
9b702e1a
libgdal-grass (2.4.2-3) unstable; urgency=medium
* Disable as-needed linking on Debian too, gcc-9 enables it by default.
-- Bas Couwenberg <sebastic@debian.org> Sun, 08 Sep 2019 22:21:39 +0200
libgdal-grass (2.4.2-2) unstable; urgency=medium
* Update packaging for GRASS 7.8.0.
...
...
debian/rules
View file @
9b702e1a
...
...
@@ -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
)
...
...