summaryrefslogtreecommitdiffstats
path: root/contrib/crossrpms/rtems4.8/gcc.am
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/crossrpms/rtems4.8/gcc.am')
-rw-r--r--contrib/crossrpms/rtems4.8/gcc.am4
1 files changed, 3 insertions, 1 deletions
diff --git a/contrib/crossrpms/rtems4.8/gcc.am b/contrib/crossrpms/rtems4.8/gcc.am
index 887941f135..66cf59b8d0 100644
--- a/contrib/crossrpms/rtems4.8/gcc.am
+++ b/contrib/crossrpms/rtems4.8/gcc.am
@@ -27,8 +27,10 @@ $(TARGET)-gcc.spec.in: $(GCC_SUBPACKAGES) Makefile.am $(srcdir)/gcc-sources.add
-e "/[@]PREP[@]/d" \
-e "s/[@]GCC_VERS[@]/$(GCC_VERS)/g" \
-e "s/[@]GCC_PKGVERS[@]/$(GCC_PKGVERS)/g" \
- -e "s/[@]GCC_RPMREL[@]/$(GCC_RPMREL)/g" \
+ -e "s/[@]GCC_RPMREL[@]/$(GCC_RPMREL)%{?dist}/g" \
-e "s/[@]NEWLIB_VERS[@]/$(NEWLIB_VERS)/g" \
+ -e "s/[@]NEWLIB_PKGVERS[@]/$(NEWLIB_PKGVERS)/g" \
+ -e "s/[@]NEWLIB_RPMREL[@]/$(NEWLIB_RPMREL)%{?dist}/g" \
-e "/--with-sysroot/d" \
-e "/[@]tool_target[@]-sys-root/d" \
-e "/[@]tool_target[@]-w32api-sys-root/d" \