[flint] 01/01: Use -march=mips2 to avoid gcc's #852153, thus closing #852007

Julien Puydt julien.puydt at laposte.net
Mon Jan 23 23:45:07 UTC 2017


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

jpuydt-guest pushed a commit to branch master
in repository flint.

commit 72e3a53753588fbcee36207abd7dc6251afb9896
Author: Julien Puydt <julien.puydt at laposte.net>
Date:   Tue Jan 24 00:44:45 2017 +0100

    Use -march=mips2 to avoid gcc's #852153, thus closing #852007
---
 debian/changelog | 6 ++++++
 debian/control   | 2 +-
 debian/rules     | 4 ++--
 3 files changed, 9 insertions(+), 3 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 3ca0765..252bf84 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+flint (2.5.2-15) unstable; urgency=medium
+
+  * Use -march=mips2 to avoid gcc's #852153 until it's fixed. (Closes: #852007)
+
+ -- Julien Puydt <julien.puydt at laposte.net>  Tue, 24 Jan 2017 00:40:16 +0100
+
 flint (2.5.2-14) unstable; urgency=medium
 
   * Team upload.
diff --git a/debian/control b/debian/control
index 82ee324..29abdc8 100644
--- a/debian/control
+++ b/debian/control
@@ -4,7 +4,7 @@ Priority: optional
 Maintainer: Debian Science Maintainers <debian-science-maintainers at lists.alioth.debian.org>
 Uploaders: Julien Puydt <julien.puydt at laposte.net>
 Homepage: http://www.flintlib.org/
-Build-Depends: debhelper (>= 10), gcc-5 [mips mipsel], g++-5 [mips mipsel], libgmp-dev, libmpfr-dev, libntl-dev (>= 9.9.1), texlive-latex-extra, texlive-fonts-recommended
+Build-Depends: debhelper (>= 10), libgmp-dev, libmpfr-dev, libntl-dev (>= 9.9.1), texlive-latex-extra, texlive-fonts-recommended
 Standards-Version: 3.9.8
 Vcs-Browser: https://anonscm.debian.org/cgit/debian-science/packages/flint.git
 Vcs-Git: https://anonscm.debian.org/git/debian-science/packages/flint.git
diff --git a/debian/rules b/debian/rules
index 8b01427..39a1e44 100755
--- a/debian/rules
+++ b/debian/rules
@@ -17,8 +17,8 @@ export DEB_BUILD_MAINT_OPTIONS = hardening=+all
 # FTBFS on mips and mipsel seems to be caused by a bug in gcc 6,
 # see https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78176
 ifeq ($(DEB_HOST_ARCH_CPU), $(filter $(DEB_HOST_ARCH_CPU), mips mipsel))
-  export CC = gcc-5  
-  export CXX = g++-5
+export DEB_CFLAGS_MAINT_APPEND = -march=mips2
+export DEB_CXXFLAGS_MAINT_APPEND = -march=mips2
 endif
 
 %:

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/flint.git



More information about the debian-science-commits mailing list