summaryrefslogtreecommitdiffstats
path: root/contrib/crossrpms/rtems4.10/gcc.am
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2009-02-19 16:49:02 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2009-02-19 16:49:02 +0000
commitaa941f8925705b197167ad44903ec0259055e866 (patch)
treec54f4fa0002e384f9225569491ddacbea2db91e8 /contrib/crossrpms/rtems4.10/gcc.am
parentUpdate. (diff)
downloadrtems-aa941f8925705b197167ad44903ec0259055e866.tar.bz2
Move %{?dist} handling to rtems4.10/*.am.
Diffstat (limited to 'contrib/crossrpms/rtems4.10/gcc.am')
-rw-r--r--contrib/crossrpms/rtems4.10/gcc.am4
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/crossrpms/rtems4.10/gcc.am b/contrib/crossrpms/rtems4.10/gcc.am
index dff86e18e4..66cf59b8d0 100644
--- a/contrib/crossrpms/rtems4.10/gcc.am
+++ b/contrib/crossrpms/rtems4.10/gcc.am
@@ -27,10 +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)/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" \