[nestopia] 01/03: Enable -fpermissive to build with GCC 6.

Stephen Kitt skitt at moszumanska.debian.org
Wed Jun 29 18:59:04 UTC 2016


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

skitt pushed a commit to branch master
in repository nestopia.

commit 717f02de70ee455fa275e9a53f0affed138173af
Author: Stephen Kitt <steve at sk2.org>
Date:   Wed Jun 29 08:46:41 2016 +0200

    Enable -fpermissive to build with GCC 6.
---
 debian/changelog | 1 +
 debian/rules     | 4 ++++
 2 files changed, 5 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 2552f7c..7d354ec 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -5,6 +5,7 @@ nestopia (1.47-2) UNRELEASED; urgency=medium
     libretro-frontend alternative (thanks to Sérgio Benjamim!).
   * Clean up debian/control using cme.
   * Standards-Version 3.9.8, no change required.
+  * Enable -fpermissive to build with GCC 6 (Closes: #811688).
 
  -- Stephen Kitt <skitt at debian.org>  Fri, 22 Jan 2016 19:02:58 +0100
 
diff --git a/debian/rules b/debian/rules
index d59e940..0f07ddb 100755
--- a/debian/rules
+++ b/debian/rules
@@ -4,6 +4,10 @@
 # Uncomment this to turn on verbose mode.
 #export DH_VERBOSE=1
 
+# Nestopia uses shifted negative integers
+export DEB_CFLAGS_MAINT_APPEND = -fpermissive
+export DEB_CXXFLAGS_MAINT_APPEND = -fpermissive
+
 ARCH=$(shell dpkg-architecture -qDEB_HOST_ARCH)
 
 ifeq ($(ARCH),armhf)

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



More information about the Pkg-games-commits mailing list