diff options
author | Ralf Wildenhues <Ralf.Wildenhues@gmx.de> | 2010-01-16 14:42:32 +0000 |
---|---|---|
committer | Ralf Wildenhues <rwild@gcc.gnu.org> | 2010-01-16 14:42:32 +0000 |
commit | 2fdb618d66fb9222cf911a366230e74e32678fd9 (patch) | |
tree | 448346a4b071523906dbff9bf5bc54e6dec0c70f /contrib/check_warning_flags.sh | |
parent | 636cf8b1f93f6e2fe66e9b25ebe9555ed93d538e (diff) | |
download | gcc-2fdb618d66fb9222cf911a366230e74e32678fd9.tar.gz |
Avoid tr '\n', for Solaris /usr/bin/tr.
contrib/
* check_warning_flags.sh: Use \012 instead of \n with tr.
gcc/:
PR gcc/42525
* Makefile.in (write_entries_to_file, install-plugin):
Use \012 instead of \n with tr.
libjava/:
* Makefile.am (write_entries_to_file): Use \012 instead of \n
with tr.
* scripts/makemake.tcl: Likewise.
* sources.am: Regenerate.
* Makefile.in: Regenerate.
From-SVN: r155963
Diffstat (limited to 'contrib/check_warning_flags.sh')
-rwxr-xr-x | contrib/check_warning_flags.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/check_warning_flags.sh b/contrib/check_warning_flags.sh index eb53832730c..d9c5735abf8 100755 --- a/contrib/check_warning_flags.sh +++ b/contrib/check_warning_flags.sh @@ -3,7 +3,7 @@ # Check that the warning flags documented in invoke.texi match up # with what the compiler accepts. # -# Copyright (C) 2008, 2009 Free Software Foundation, Inc. +# Copyright (C) 2008, 2009, 2010 Free Software Foundation, Inc. # Written by Ralf Wildenhues <Ralf.Wildenhues@gmx.de>. # # This script is Free Software, and it can be copied, distributed and @@ -147,7 +147,7 @@ remove_problematic_help_flags=' /-$/d /=/d' help_flags=` - $CC --help -v 2>/dev/null | tr ' ' '\n' | + $CC --help -v 2>/dev/null | tr ' ' '\012' | sed -n ' b a :a |