mirror of git://gcc.gnu.org/git/gcc.git
re PR other/55312 (libbacktrace doesn't honor --disable-werror)
PR other/55312 * configure.ac: Only add -Werror if building a target library. From-SVN: r193485
This commit is contained in:
parent
3e452a2871
commit
73c3ed27fc
|
|
@ -1,3 +1,8 @@
|
||||||
|
2012-11-13 Ian Lance Taylor <iant@google.com>
|
||||||
|
|
||||||
|
PR other/55312
|
||||||
|
* configure.ac: Only add -Werror if building a target library.
|
||||||
|
|
||||||
2012-11-12 Ian Lance Taylor <iant@google.com>
|
2012-11-12 Ian Lance Taylor <iant@google.com>
|
||||||
Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
|
Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
|
||||||
Gerald Pfeifer <gerald@pfeifer.com>
|
Gerald Pfeifer <gerald@pfeifer.com>
|
||||||
|
|
|
||||||
|
|
@ -11575,7 +11575,7 @@ fi
|
||||||
CFLAGS="$save_CFLAGS"
|
CFLAGS="$save_CFLAGS"
|
||||||
|
|
||||||
|
|
||||||
if test "x$GCC" = "xyes"; then
|
if test -n "${with_target_subdir}"; then
|
||||||
WARN_FLAGS="$WARN_FLAGS -Werror"
|
WARN_FLAGS="$WARN_FLAGS -Werror"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -120,7 +120,7 @@ ACX_PROG_CC_WARNING_OPTS([-W -Wall -Wwrite-strings -Wstrict-prototypes \
|
||||||
-Wmissing-format-attribute -Wcast-qual],
|
-Wmissing-format-attribute -Wcast-qual],
|
||||||
[WARN_FLAGS])
|
[WARN_FLAGS])
|
||||||
|
|
||||||
if test "x$GCC" = "xyes"; then
|
if test -n "${with_target_subdir}"; then
|
||||||
WARN_FLAGS="$WARN_FLAGS -Werror"
|
WARN_FLAGS="$WARN_FLAGS -Werror"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue