summaryrefslogtreecommitdiffstats
path: root/scripts/gcc3newlib
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2002-12-06 13:51:15 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2002-12-06 13:51:15 +0000
commit4f7ee21b6f93df21b6c43ed3f92ea1749033e17a (patch)
tree5ca84ba9ab6cdcfefd72a03bc0cc0441c8a2da16 /scripts/gcc3newlib
parent2002-12-06 Joel Sherrill <joel@OARcorp.com> (diff)
downloadrtems-4f7ee21b6f93df21b6c43ed3f92ea1749033e17a.tar.bz2
2002-12-06 Joel Sherrill <joel@OARcorp.com>
* setup.def: Updated patch to fix m68k cut and paste bug which turned a tab into spaces in a Makefile fragment. * gcc3newlib/gccnewlib.add: If building gnat for the mips, the library must be built with a -G0 option.
Diffstat (limited to 'scripts/gcc3newlib')
-rw-r--r--scripts/gcc3newlib/gccnewlib.add3
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/gcc3newlib/gccnewlib.add b/scripts/gcc3newlib/gccnewlib.add
index 2fc3b2f35f..66214ae3be 100644
--- a/scripts/gcc3newlib/gccnewlib.add
+++ b/scripts/gcc3newlib/gccnewlib.add
@@ -190,6 +190,9 @@ This is gcc's and newlib C Library's sources with patches for RTEMS.
GNATLIBCFLAGS="$GNATLIBCFLAGS -isystem `pwd`/../newlib-@newlib_version@/newlib/libc/include"
# Without this xgcc doesn't find the target's binutils.
GNATLIBCFLAGS="$GNATLIBCFLAGS -B%{_prefix}/@target_alias@/bin/"
+%if "@target_alias@" == "mips-rtems"
+ GNATLIBCFLAGS="$GNATLIBCFLAGS -G0"
+%endif
make -C gcc GNATLIBCFLAGS="${GNATLIBCFLAGS}" gnatlib
%endif
make info