summaryrefslogtreecommitdiffstats
path: root/contrib
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2008-11-19 17:06:48 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2008-11-19 17:06:48 +0000
commit30d0a418585d08ac2884ac0ab1e4938a1698a34a (patch)
tree11526de1dcfb784a8240e8d9d95a5c1909b8b792 /contrib
parentPreps for newlib-cvs. (diff)
downloadrtems-30d0a418585d08ac2884ac0ab1e4938a1698a34a.tar.bz2
Add NEWLIB_PKGVERS.
Diffstat (limited to 'contrib')
-rw-r--r--contrib/crossrpms/gcc/gccnewlib.add1
-rw-r--r--contrib/crossrpms/rtems4.10/gcc.am1
2 files changed, 2 insertions, 0 deletions
diff --git a/contrib/crossrpms/gcc/gccnewlib.add b/contrib/crossrpms/gcc/gccnewlib.add
index 2341c5a2a2..aabacf4b4b 100644
--- a/contrib/crossrpms/gcc/gccnewlib.add
+++ b/contrib/crossrpms/gcc/gccnewlib.add
@@ -4,6 +4,7 @@
%define gcc_rpmvers %{expand:%(echo "@GCC_VERS@" | tr - _ )}
%if %build_newlib
+%define newlib_pkgvers @NEWLIB_PKGVERS@
%define newlib_version @NEWLIB_VERS@
%define gccnewlib_version gcc%{gcc_version}newlib%{newlib_version}
%endif
diff --git a/contrib/crossrpms/rtems4.10/gcc.am b/contrib/crossrpms/rtems4.10/gcc.am
index 887941f135..2ff5831e22 100644
--- a/contrib/crossrpms/rtems4.10/gcc.am
+++ b/contrib/crossrpms/rtems4.10/gcc.am
@@ -29,6 +29,7 @@ $(TARGET)-gcc.spec.in: $(GCC_SUBPACKAGES) Makefile.am $(srcdir)/gcc-sources.add
-e "s/[@]GCC_PKGVERS[@]/$(GCC_PKGVERS)/g" \
-e "s/[@]GCC_RPMREL[@]/$(GCC_RPMREL)/g" \
-e "s/[@]NEWLIB_VERS[@]/$(NEWLIB_VERS)/g" \
+ -e "s/[@]NEWLIB_PKGVERS[@]/$(NEWLIB_PKGVERS)/g" \
-e "/--with-sysroot/d" \
-e "/[@]tool_target[@]-sys-root/d" \
-e "/[@]tool_target[@]-w32api-sys-root/d" \