[flint] 01/03: Reenable optimisations with a better fix

Julien Puydt julien.puydt at laposte.net
Fri Sep 11 21:44:13 UTC 2015


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

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

commit fbcbcb93573960dd3bbbddcf0cedb4b9f3a9680f
Author: Julien Puydt <julien.puydt at laposte.net>
Date:   Fri Sep 11 20:41:18 2015 +0200

    Reenable optimisations with a better fix
---
 debian/changelog | 2 +-
 debian/rules     | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 4fd6f58..e1449f4 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,6 +1,6 @@
 flint (2.5.2-2) UNRELEASED; urgency=medium
 
-  * Disable optimisations so we don't fail the testsuite on i386.
+  * Force the "-ansi" flag so i386 arches don't break.
   * Add the library package to the libs section.
 
  -- Julien Puydt <julien.puydt at laposte.net>  Mon, 07 Sep 2015 10:13:41 +0200
diff --git a/debian/rules b/debian/rules
index 8efc476..fbd2219 100755
--- a/debian/rules
+++ b/debian/rules
@@ -12,7 +12,7 @@ MAKE_OVERRIDE = AT= QUIET_CXX= QUIET_CC= QUIET_AR= INCS=-I$(CURDIR) \
 # inject flags using configure. let's hope CFLAGS will always be good enough
 # even for $(CXX)
 override_dh_auto_configure:
-	./configure --prefix="/usr" --with-ntl CFLAGS='$(CPPFLAGS) $(CFLAGS) -O0'
+	./configure --prefix="/usr" --with-ntl CFLAGS='$(CPPFLAGS) $(CFLAGS) -ansi'
 	sed -i Makefile -e "/^FLINT_LIB\>=/s/libflint/libflint-$(VERSION)/"
 
 override_dh_auto_build:

-- 
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