summaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog6
-rw-r--r--gcc/Makefile.in4
2 files changed, 8 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 7d3889ec7c2..f73bb9139fa 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,9 @@
+2010-01-16 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
+
+ PR gcc/42525
+ * Makefile.in (write_entries_to_file, install-plugin):
+ Use \012 instead of \n with tr.
+
2010-01-16 Richard Sandiford <r.sandiford@uk.ibm.com>
* configure.ac (HAVE_AS_REF): New C macro.
diff --git a/gcc/Makefile.in b/gcc/Makefile.in
index 2ff27d549af..d6a57c459e7 100644
--- a/gcc/Makefile.in
+++ b/gcc/Makefile.in
@@ -290,7 +290,7 @@ write_entries_to_file = $(shell rm -f $(2) || :) $(shell touch $(2)) \
echo $$i; i=`expr $$i + $(write_entries_to_file_split)`; done), \
$(shell echo "$(wordlist $(range), \
$(shell expr $(range) + $(write_entries_to_file_split) - 1), $(1))" \
- | tr ' ' '\n' >> $(2)))
+ | tr ' ' '\012' >> $(2)))
# --------
# UNSORTED
@@ -4289,7 +4289,7 @@ install-plugin: installdirs lang.install-plugin s-header-vars
# We keep the directory structure for files in config and .def files. All
# other files are flattened to a single directory.
$(mkinstalldirs) $(DESTDIR)$(plugin_includedir)
- headers=`echo $(PLUGIN_HEADERS) | tr ' ' '\n' | sort -u`; \
+ headers=`echo $(PLUGIN_HEADERS) | tr ' ' '\012' | sort -u`; \
srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`; \
for file in $$headers; do \
if [ -f $$file ] ; then \