summaryrefslogtreecommitdiffstats
path: root/scripts/gccnewlib/gccnewlib.add
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2001-05-24 19:58:35 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2001-05-24 19:58:35 +0000
commit01ec6c0c4cc6668ea060e8486724ad01fe403624 (patch)
tree2f3f831d7072b55ba781a88b4f048750414bbe1f /scripts/gccnewlib/gccnewlib.add
parent2000-05-24 Joel Sherrill <joel@OARcorp.com> (diff)
downloadrtems-01ec6c0c4cc6668ea060e8486724ad01fe403624.tar.bz2
2001-05-15 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* configure.in: Remove AC_EXEEXT, treat .exe manually. * gccnewlib/base-gcc.add: Remove cpp. * gccnewlib/gccnewlib.add: mv cpp $target_alias-cpp, update copyright.
Diffstat (limited to 'scripts/gccnewlib/gccnewlib.add')
-rw-r--r--scripts/gccnewlib/gccnewlib.add10
1 files changed, 9 insertions, 1 deletions
diff --git a/scripts/gccnewlib/gccnewlib.add b/scripts/gccnewlib/gccnewlib.add
index fe656e6c28..92ef38b59e 100644
--- a/scripts/gccnewlib/gccnewlib.add
+++ b/scripts/gccnewlib/gccnewlib.add
@@ -1,7 +1,7 @@
#
# spec file for building gcc for rtems
#
-# Copyright (c) 1999,2000 OARCorp, Huntsville, AL
+# Copyright (c) 1999,2000,2001 OARCorp, Huntsville, AL
#
# please send bugfixes or comments to joel@OARcorp.com
#
@@ -88,6 +88,14 @@ This is gcc's and newlib C Library's sources with patches for RTEMS.
# cd back to build/
cd ../..
+ # Bug in gcc-2.95.x: It bogusly tries to share cpp for all targets.
+ # Rename it to target_alias-cpp
+ if test -f $RPM_BUILD_ROOT/opt/rtems/bin/cpp@exe_ext@;
+ then
+ mv $RPM_BUILD_ROOT/opt/rtems/bin/cpp@exe_ext@ \
+ $RPM_BUILD_ROOT/opt/rtems/bin/@target_alias@-cpp@exe_ext@
+ fi
+
# gzip info files
gzip -f $RPM_BUILD_ROOT/opt/rtems/info/*.info 2>/dev/null
gzip -f $RPM_BUILD_ROOT/opt/rtems/info/*.info-? 2>/dev/null