diff options
author | Étienne Mollier <emollier@debian.org> | 2023-08-14 17:26:44 +0200 |
---|---|---|
committer | Étienne Mollier <emollier@debian.org> | 2023-08-14 17:26:44 +0200 |
commit | 89710662b225a5872ef0c4762990e20b96a39bd4 (patch) | |
tree | 0faf25ee22f46d2ebfd8449122059a58d400d7c4 | |
parent | bed3ad84e2fb5912f3e8979023024b0706dbe09e (diff) |
d/rules: build with -ffunction-sections on hppa.
Closes: #1044139
Thanks: John David Anglin
-rwxr-xr-x | debian/rules | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/debian/rules b/debian/rules index 564829e..e6669e8 100755 --- a/debian/rules +++ b/debian/rules @@ -6,6 +6,11 @@ export LC_ALL=C.UTF-8 include /usr/share/dpkg/default.mk export DEB_BUILD_MAINT_OPTIONS = hardening=+all +# Avoid section conflict on parisc, see #1044139. +ifneq (,$(filter $(DEB_HOST_ARCH),hppa)) +export DEB_CXXFLAGS_MAINT_APPEND += -ffunction-sections +endif + %: dh $@ --sourcedirectory=src |