Hi, Svante Signell wrote:
> --- guile-1.8-1.8.8+1/configure.in 2011-08-17 18:18:38.000000000 +0000 > +++ guile-1.8-1.8.8+1.modified/configure.in 2011-08-17 16:22:39.000000000 > +0000 > @@ -99,8 +99,17 @@ [...] > -GUILE_ERROR_ON_WARNING="yes" > +if test "$GCC" = "yes"; then > + GCC_VERSION=`$CC -dumpversion` > + case $GCC_VERSION in > + 4.4.*) > + GUILE_ERROR_ON_WARNING="yes" > + ;; > + 4.6.*) > + GUILE_ERROR_ON_WARNING="no" > + ;; > + esac > +fi Thanks. But the above makes it less obvious what will happens when someone tries to build with gcc 4.5 or 4.7. I suspect it would be simpler to pass --disable-error-on-warning to configure as Ludo suggested, like this: debian/changelog | 8 ++++++++ debian/rules | 1 + 2 files changed, 9 insertions(+), 0 deletions(-) diff --git a/debian/changelog b/debian/changelog index 787d3795..b8736bce 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,11 @@ +guile-1.8 (1.8.8+1-6.1) local; urgency=low + + * Build without -Werror. Inducing build failures that can delay + transitions when the toolchain changes is just not worth it. + (closes: #625355) + + -- Jonathan Nieder <jrnie...@gmail.com> Wed, 17 Aug 2011 18:45:41 -0500 + guile-1.8 (1.8.8+1-6) unstable; urgency=low * Add "Replaces: guile-1.8-dev" to guile-1.8-libs to accommodate .so diff --git a/debian/rules b/debian/rules index 32180e9d..516ddac9 100755 --- a/debian/rules +++ b/debian/rules @@ -64,6 +64,7 @@ configure_args = \ --host=$(DEB_HOST_GNU_TYPE) \ --build=$(DEB_BUILD_GNU_TYPE) \ --with-threads=no \ + --disable-error-on-warning \ --prefix=/usr define checkdir -- 1.7.6 -- To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org