Bug#827465: Remove the -ansi flag: why not unconditionally?

Julien Puydt julien.puydt at laposte.net
Sat Jun 25 09:05:43 UTC 2016


Hi,

since you seem to have access to more various computers than me : what 
happens if one removes the -ansi flag unconditionally from d/rules? I 
don't think I'm the one who put it there and I'm not sure it is useful 
to have it anyway...

I'm pondering this commit for a 2.5.2-6 package:

commit 6217ca1c0e658d3644f03e9298935fcad00fb1b3
Author: Julien Puydt <julien.puydt at laposte.net>
Date:   Sat Jun 25 10:49:44 2016 +0200

     Remove the -ansi flag -- unbreaks MIPS-based architectures

diff --git a/debian/rules b/debian/rules
index bf20ed6..17f3b60 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) -ansi' --disable-static
+       ./configure --prefix="/usr" --with-ntl CFLAGS='$(CPPFLAGS) 
$(CFLAGS)' --disable-static
         sed -i Makefile -e "/^FLINT_LIB\>=/s/libflint/libflint-$(VERSION)/"

  override_dh_auto_build:


Thanks,

Snark on #debian-science



More information about the debian-science-maintainers mailing list