summaryrefslogtreecommitdiffstats
path: root/contrib
diff options
context:
space:
mode:
authorrwild <rwild@138bc75d-0d04-0410-961f-82ee72b054a4>2010-01-16 14:42:32 +0000
committerrwild <rwild@138bc75d-0d04-0410-961f-82ee72b054a4>2010-01-16 14:42:32 +0000
commitf57638630e5831f423e01df7996ff2b54b52f746 (patch)
tree448346a4b071523906dbff9bf5bc54e6dec0c70f /contrib
parent1a9c54a35da528ea0ed834cd8303b31767be0c1f (diff)
downloadppe42-gcc-f57638630e5831f423e01df7996ff2b54b52f746.tar.gz
ppe42-gcc-f57638630e5831f423e01df7996ff2b54b52f746.zip
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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155963 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'contrib')
-rw-r--r--contrib/ChangeLog4
-rwxr-xr-xcontrib/check_warning_flags.sh4
2 files changed, 6 insertions, 2 deletions
diff --git a/contrib/ChangeLog b/contrib/ChangeLog
index cd6fba61526..46c1cc3170b 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 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
OpenPOWER on IntegriCloud