[mame] 01/01: Workaround a gcc-6 bug on ARM64.

Jordi Mallach jordi at moszumanska.debian.org
Wed Oct 19 07:48:24 UTC 2016


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

jordi pushed a commit to branch master
in repository mame.

commit 36fe3f1c1eb777667203491201733661648f82ae
Author: Jordi Mallach <jordi at debian.org>
Date:   Wed Oct 19 09:47:28 2016 +0200

    Workaround a gcc-6 bug on ARM64.
    
    Build-Depend on and set CC/CXX to gcc-5/g++-5 on arm64, to
    workaround a GCC 6 bug that causes MAME to FTBFS (closes: #840468).
---
 debian/changelog | 2 ++
 debian/control   | 2 ++
 debian/rules     | 5 ++++-
 3 files changed, 8 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index 89b4b61..34e79f0 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,6 +1,8 @@
 mame (0.178-2) UNRELEASED; urgency=medium
 
   * hurd.patch: use the correct include for pthread_safe().
+  * Build-Depend on and set CC/CXX to gcc-5/g++-5 on arm64, to workaround
+    a GCC 6 bug that causes MAME to FTBFS (closes: #840468).
 
  -- Jordi Mallach <jordi at debian.org>  Thu, 06 Oct 2016 01:39:07 +0200
 
diff --git a/debian/control b/debian/control
index 5ad0f12..b01a38a 100644
--- a/debian/control
+++ b/debian/control
@@ -7,6 +7,8 @@ Uploaders: Cesare Falco <c.falco at ubuntu.com>,
  Jordi Mallach <jordi at debian.org>
 Build-Depends: debhelper (>= 9),
  dpkg-dev (>= 1.17),
+ gcc-5 [arm64],
+ g++-5 [arm64],
  libexpat1-dev,
  libflac-dev,
  libfontconfig1-dev,
diff --git a/debian/rules b/debian/rules
index 72e928b..9226367 100755
--- a/debian/rules
+++ b/debian/rules
@@ -61,7 +61,10 @@ endif
 
 ifeq ($(DEB_HOST_ARCH),arm64)
 DEB_OPTS += \
-    ARCHOPTS=-mabi=lp64
+    ARCHOPTS=-mabi=lp64 \
+    OVERRIDE_CXX=g++-5 \
+    OVERRIDE_CC=gcc-5 \
+    CC=gcc-5
 endif
 
 ifeq ($(DEB_HOST_ARCH),i386)

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



More information about the Pkg-games-commits mailing list