summaryrefslogtreecommitdiffstats
path: root/contrib
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2006-02-18 11:15:13 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2006-02-18 11:15:13 +0000
commit403d217617d3b4a334c6be02a5e3ee84a2a15a6e (patch)
treedda5269fe3dda00b8915ef8508add5946c0ef601 /contrib
parentReflect newlib having been split out (diff)
downloadrtems-403d217617d3b4a334c6be02a5e3ee84a2a15a6e.tar.bz2
Add NEWLIB_VERS
Diffstat (limited to 'contrib')
-rw-r--r--contrib/crossrpms/gcc/gccnewlib.add2
-rw-r--r--contrib/crossrpms/rtems/Makefile.am2
2 files changed, 3 insertions, 1 deletions
diff --git a/contrib/crossrpms/gcc/gccnewlib.add b/contrib/crossrpms/gcc/gccnewlib.add
index a165d24ba9..7a52a46665 100644
--- a/contrib/crossrpms/gcc/gccnewlib.add
+++ b/contrib/crossrpms/gcc/gccnewlib.add
@@ -6,7 +6,7 @@
%define build_newlib 1
%if %build_newlib
-%define newlib_version @newlib_version@
+%define newlib_version @NEWLIB_VERS@
%define gccnewlib_version gcc%{gcc_version}newlib%{newlib_version}
%endif
diff --git a/contrib/crossrpms/rtems/Makefile.am b/contrib/crossrpms/rtems/Makefile.am
index 59f554968d..4a4819a235 100644
--- a/contrib/crossrpms/rtems/Makefile.am
+++ b/contrib/crossrpms/rtems/Makefile.am
@@ -42,6 +42,7 @@ noinst_DATA += $(TARGET)-binutils.spec
GCC_VERS = 4.0.2
GCC_RPMREL = 0.20060215.0
+NEWLIB_VERS = 1.14.0
GCC_SUBPACKAGES = $(top_builddir)/common/common.add
GCC_SUBPACKAGES += ../gcc/gccnewlib.add
@@ -74,6 +75,7 @@ $(TARGET)-gcc.spec: $(TARGET)-gcc.spec.in
-e "s/[@]tool_target[@]/$(TARGET)/g" \
-e "s/[@]GCC_VERS[@]/$(GCC_VERS)/g" \
-e "s/[@]GCC_RPMREL[@]/$(GCC_RPMREL)/g" \
+ -e "s/[@]NEWLIB_VERS[@]/$(NEWLIB_VERS)/g" \
-e "/[@]PATCH/d" \
$(srcdir)/$(TARGET)-gcc.spec.in > $@
CLEANFILES += $(TARGET)-gcc.spec