On Sun, Dec 23, 2012 at 3:30 PM, Mike Frysinger <vap...@gentoo.org> wrote:
> diff --git a/libgo/configure.ac b/libgo/configure.ac > index 8cde50b..63d8cbc 100644 > --- a/libgo/configure.ac > +++ b/libgo/configure.ac > @@ -50,8 +50,11 @@ AC_PROG_AWK > WARN_FLAGS='-Wall -Wextra -Wwrite-strings -Wcast-qual' > AC_SUBST(WARN_FLAGS) > > -dnl FIXME: This should be controlled by --enable-maintainer-mode. > -WERROR="-Werror" > +AC_ARG_ENABLE(werror, [AS_HELP_STRING([--enable-werror], > + [turns on -Werror > @<:@default=yes@:>@])]) > +if test "x$enable_werror" != "xno"; then > + WERROR="-Werror" > +fi > AC_SUBST(WERROR) > > glibgo_toolexecdir=no Can you say something about when you needed this? What errors were you seeing? Ian