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 | |
parent | 636cf8b1f93f6e2fe66e9b25ebe9555ed93d538e (diff) | |
download | gcc-2fdb618d66fb9222cf911a366230e74e32678fd9.zip gcc-2fdb618d66fb9222cf911a366230e74e32678fd9.tar.gz gcc-2fdb618d66fb9222cf911a366230e74e32678fd9.tar.bz2 |
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')
-rw-r--r-- | contrib/ChangeLog | 4 | ||||
-rwxr-xr-x | contrib/check_warning_flags.sh | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/contrib/ChangeLog b/contrib/ChangeLog index cd6fba6..46c1cc3 100644 --- a/contrib/ChangeLog +++ b/contrib/ChangeLog @@ -1,3 +1,7 @@ +2010-01-16 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + * check_warning_flags.sh: Use \012 instead of \n with tr. + 2010-01-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> * dg-extract-results.sh: Don't use tail -n. diff --git a/contrib/check_warning_flags.sh b/contrib/check_warning_flags.sh index eb53832..d9c5735 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 |