[hyperrogue] 01/02: Fix FTBFS on hppa by adding -mlong-calls to DEB_CXXFLAGS_MAINT_APPEND

Markus Koschany apo at moszumanska.debian.org
Sun Oct 2 22:26:16 UTC 2016


This is an automated email from the git hooks/post-receive script.

apo pushed a commit to branch master
in repository hyperrogue.

commit 83bb23e6096b8e9f5e703dc23f8564df4d034f5b
Author: Markus Koschany <apo at debian.org>
Date:   Mon Oct 3 00:12:14 2016 +0200

    Fix FTBFS on hppa by adding -mlong-calls to DEB_CXXFLAGS_MAINT_APPEND
    
    Thanks: David Anglin for the report.
    Closes: #839602
---
 debian/rules | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

diff --git a/debian/rules b/debian/rules
index db30792..39b5a9f 100755
--- a/debian/rules
+++ b/debian/rules
@@ -2,13 +2,18 @@
 export DEB_BUILD_MAINT_OPTIONS=hardening=+all,-pie
 
 DEB_HOST_ARCH ?= $(shell dpkg-architecture -qDEB_HOST_ARCH)
-WEAK_HOSTS := arm64 hppa
 
 # Use less optimization on architectures that FTBFS otherwise
-ifneq (,$(findstring $(DEB_HOST_ARCH),$(WEAK_HOSTS)))
+ifneq (,$(findstring $(DEB_HOST_ARCH),arm64))
 export DEB_CXXFLAGS_MAINT_APPEND=-O0
 endif
 
+# See also bug report #839602
+ifneq (,$(findstring $(DEB_HOST_ARCH),hppa))
+export DEB_CXXFLAGS_MAINT_APPEND=-mlong-calls
+endif
+
+
 %:
 	dh $@
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/hyperrogue.git



More information about the Pkg-games-commits mailing list