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