From 403d217617d3b4a334c6be02a5e3ee84a2a15a6e Mon Sep 17 00:00:00 2001 From: Ralf Corsepius Date: Sat, 18 Feb 2006 11:15:13 +0000 Subject: [PATCH] Add NEWLIB_VERS --- contrib/crossrpms/gcc/gccnewlib.add | 2 +- contrib/crossrpms/rtems/Makefile.am | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) 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