diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2006-02-18 06:53:57 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2006-02-18 06:53:57 +0000 |
commit | 9d07966e4dff8f3c555560ae128380ffa5a3a717 (patch) | |
tree | eb95ac706ff0a1c48c4218996e7b44daeaaf2788 /contrib/crossrpms/cygwin | |
parent | Sed out %package -n @rpmprefix@@tool_target@-gcc from *gcc.spec (diff) | |
download | rtems-9d07966e4dff8f3c555560ae128380ffa5a3a717.tar.bz2 |
Misc. sed magic.
Diffstat (limited to 'contrib/crossrpms/cygwin')
-rw-r--r-- | contrib/crossrpms/cygwin/Makefile.am | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/contrib/crossrpms/cygwin/Makefile.am b/contrib/crossrpms/cygwin/Makefile.am index 03c2927e5c..5ae7c6d0c8 100644 --- a/contrib/crossrpms/cygwin/Makefile.am +++ b/contrib/crossrpms/cygwin/Makefile.am @@ -81,10 +81,13 @@ $(TARGET)-gcc.spec.in: $(GCC_SUBPACKAGES) Makefile.am gcc-sources.add -e "/[@]SOURCES[@]/r ./gcc-sources.add" \ -e "/[@]SOURCES[@]/d" \ -e "s,[@]_prefix[@],$(prefix),g" \ - -e "s,[@]tool_target[@]-libc,@tool_target@-sys-root,g" \ - -e "s,[=<][ ]*%{newlib_version}-%{release},," \ -e "s,[@]rpmprefix[@],$(rpmprefix),g" \ -e "s,rtems[@]osversion[@],rtems,g" \ + -e "s,[@]tool_target[@]-libc,@tool_target@-sys-root,g" \ + -e "s,[=<][ ]*%{newlib_version}-%{release},," \ + -e "/^%package -n @rpmprefix@@tool_target@-gcc/d" \ + -e "s/-n @rpmprefix@@tool_target@-gcc//" \ + -e 's,^%define build_newlib.*$$,%define build_newlib 0,' \ > $(TARGET)-gcc.spec.in CLEANFILES += $(TARGET)-gcc.spec.in |