diff options
author | ian <ian@138bc75d-0d04-0410-961f-82ee72b054a4> | 2012-11-13 21:25:39 +0000 |
---|---|---|
committer | ian <ian@138bc75d-0d04-0410-961f-82ee72b054a4> | 2012-11-13 21:25:39 +0000 |
commit | 47b4f489773faf1775a84b248ab09112ee4a2b07 (patch) | |
tree | bb353a1a424b6d80ffffd447244de8141fd12ca3 /libbacktrace/configure | |
parent | 36bcc5472da061989b5e9e1beb7d2d286dbdc587 (diff) |
PR other/55312
* configure.ac: Only add -Werror if building a target library.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@193485 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libbacktrace/configure')
-rwxr-xr-x | libbacktrace/configure | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libbacktrace/configure b/libbacktrace/configure index 2a57c5102f35..737e81b92dfa 100755 --- a/libbacktrace/configure +++ b/libbacktrace/configure @@ -11575,7 +11575,7 @@ fi CFLAGS="$save_CFLAGS" -if test "x$GCC" = "xyes"; then +if test -n "${with_target_subdir}"; then WARN_FLAGS="$WARN_FLAGS -Werror" fi |