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.
· 551e548c
Bas Couwenberg
authored
Sep 08, 2019
551e548c
Set distribution to experimental.
· 50ec7fba
Bas Couwenberg
authored
Sep 08, 2019
50ec7fba
Show whitespace changes
Inline
Side-by-side
debian/changelog
View file @
50ec7fba
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@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
View file @
50ec7fba
...
...
@@ -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
)
...
...