Remove cygwin hacks.

This commit is contained in:
Ralf Corsepius
2010-02-10 14:38:44 +00:00
parent dc94d0431f
commit b83fc5b3ea
26 changed files with 26 additions and 78 deletions

View File

@@ -6,7 +6,7 @@ include $(top_srcdir)/mkspec.am
BINUTILS_VERS = 2.20
BINUTILS_PKGVERS = $(BINUTILS_VERS)
BINUTILS_RPMREL = 1
BINUTILS_RPMREL = 2
include ../binutils.am
BINUTILS_OPTS +=

View File

@@ -53,7 +53,7 @@ Name: rtems-4.10-arm-rtems4.10-binutils
Summary: Binutils for target arm-rtems4.10
Group: Development/Tools
Version: %{binutils_rpmvers}
Release: 1%{?dist}
Release: 2%{?dist}
License: GPL/LGPL
URL: http://sources.redhat.com/binutils
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -88,10 +88,6 @@ cd ..
%build
export PATH="%{_bindir}:${PATH}"
%if "arm-rtems4.10" == "i686-pc-cygwin"
# The cygwin sources are leaking memory
RPM_OPT_FLAGS="$(echo "$RPM_OPT_FLAGS"|sed -e 's; -Wp,-D_FORTIFY_SOURCE=2;;')"
%endif
mkdir -p build
cd build
%if "%{_build}" != "%{_host}"

View File

@@ -6,7 +6,7 @@ include $(top_srcdir)/mkspec.am
BINUTILS_VERS = 2.20
BINUTILS_PKGVERS = $(BINUTILS_VERS)
BINUTILS_RPMREL = 1
BINUTILS_RPMREL = 2
include ../binutils.am
BINUTILS_OPTS +=

View File

@@ -53,7 +53,7 @@ Name: rtems-4.10-avr-rtems4.10-binutils
Summary: Binutils for target avr-rtems4.10
Group: Development/Tools
Version: %{binutils_rpmvers}
Release: 1%{?dist}
Release: 2%{?dist}
License: GPL/LGPL
URL: http://sources.redhat.com/binutils
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -88,10 +88,6 @@ cd ..
%build
export PATH="%{_bindir}:${PATH}"
%if "avr-rtems4.10" == "i686-pc-cygwin"
# The cygwin sources are leaking memory
RPM_OPT_FLAGS="$(echo "$RPM_OPT_FLAGS"|sed -e 's; -Wp,-D_FORTIFY_SOURCE=2;;')"
%endif
mkdir -p build
cd build
%if "%{_build}" != "%{_host}"

View File

@@ -6,7 +6,7 @@ include $(top_srcdir)/mkspec.am
BINUTILS_VERS = 2.20
BINUTILS_PKGVERS = $(BINUTILS_VERS)
BINUTILS_RPMREL = 1
BINUTILS_RPMREL = 2
include ../binutils.am
BINUTILS_OPTS +=

View File

@@ -53,7 +53,7 @@ Name: rtems-4.10-bfin-rtems4.10-binutils
Summary: Binutils for target bfin-rtems4.10
Group: Development/Tools
Version: %{binutils_rpmvers}
Release: 1%{?dist}
Release: 2%{?dist}
License: GPL/LGPL
URL: http://sources.redhat.com/binutils
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -88,10 +88,6 @@ cd ..
%build
export PATH="%{_bindir}:${PATH}"
%if "bfin-rtems4.10" == "i686-pc-cygwin"
# The cygwin sources are leaking memory
RPM_OPT_FLAGS="$(echo "$RPM_OPT_FLAGS"|sed -e 's; -Wp,-D_FORTIFY_SOURCE=2;;')"
%endif
mkdir -p build
cd build
%if "%{_build}" != "%{_host}"

View File

@@ -6,7 +6,7 @@ include $(top_srcdir)/mkspec.am
BINUTILS_VERS = 2.20
BINUTILS_PKGVERS = $(BINUTILS_VERS)
BINUTILS_RPMREL = 1
BINUTILS_RPMREL = 2
include ../binutils.am
BINUTILS_OPTS +=

View File

@@ -53,7 +53,7 @@ Name: rtems-4.10-h8300-rtems4.10-binutils
Summary: Binutils for target h8300-rtems4.10
Group: Development/Tools
Version: %{binutils_rpmvers}
Release: 1%{?dist}
Release: 2%{?dist}
License: GPL/LGPL
URL: http://sources.redhat.com/binutils
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -88,10 +88,6 @@ cd ..
%build
export PATH="%{_bindir}:${PATH}"
%if "h8300-rtems4.10" == "i686-pc-cygwin"
# The cygwin sources are leaking memory
RPM_OPT_FLAGS="$(echo "$RPM_OPT_FLAGS"|sed -e 's; -Wp,-D_FORTIFY_SOURCE=2;;')"
%endif
mkdir -p build
cd build
%if "%{_build}" != "%{_host}"

View File

@@ -6,7 +6,7 @@ include $(top_srcdir)/mkspec.am
BINUTILS_VERS = 2.20
BINUTILS_PKGVERS = $(BINUTILS_VERS)
BINUTILS_RPMREL = 1
BINUTILS_RPMREL = 2
include ../binutils.am
BINUTILS_OPTS +=

View File

@@ -53,7 +53,7 @@ Name: rtems-4.10-i386-rtems4.10-binutils
Summary: Binutils for target i386-rtems4.10
Group: Development/Tools
Version: %{binutils_rpmvers}
Release: 1%{?dist}
Release: 2%{?dist}
License: GPL/LGPL
URL: http://sources.redhat.com/binutils
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -88,10 +88,6 @@ cd ..
%build
export PATH="%{_bindir}:${PATH}"
%if "i386-rtems4.10" == "i686-pc-cygwin"
# The cygwin sources are leaking memory
RPM_OPT_FLAGS="$(echo "$RPM_OPT_FLAGS"|sed -e 's; -Wp,-D_FORTIFY_SOURCE=2;;')"
%endif
mkdir -p build
cd build
%if "%{_build}" != "%{_host}"

View File

@@ -6,7 +6,7 @@ include $(top_srcdir)/mkspec.am
BINUTILS_VERS = 2.20
BINUTILS_PKGVERS = $(BINUTILS_VERS)
BINUTILS_RPMREL = 1
BINUTILS_RPMREL = 2
include ../binutils.am
BINUTILS_OPTS +=

View File

@@ -53,7 +53,7 @@ Name: rtems-4.10-lm32-rtems4.10-binutils
Summary: Binutils for target lm32-rtems4.10
Group: Development/Tools
Version: %{binutils_rpmvers}
Release: 1%{?dist}
Release: 2%{?dist}
License: GPL/LGPL
URL: http://sources.redhat.com/binutils
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -88,10 +88,6 @@ cd ..
%build
export PATH="%{_bindir}:${PATH}"
%if "lm32-rtems4.10" == "i686-pc-cygwin"
# The cygwin sources are leaking memory
RPM_OPT_FLAGS="$(echo "$RPM_OPT_FLAGS"|sed -e 's; -Wp,-D_FORTIFY_SOURCE=2;;')"
%endif
mkdir -p build
cd build
%if "%{_build}" != "%{_host}"

View File

@@ -6,7 +6,7 @@ include $(top_srcdir)/mkspec.am
BINUTILS_VERS = 2.20
BINUTILS_PKGVERS = $(BINUTILS_VERS)
BINUTILS_RPMREL = 1
BINUTILS_RPMREL = 2
include ../binutils.am
BINUTILS_OPTS +=

View File

@@ -53,7 +53,7 @@ Name: rtems-4.10-m32c-rtems4.10-binutils
Summary: Binutils for target m32c-rtems4.10
Group: Development/Tools
Version: %{binutils_rpmvers}
Release: 1%{?dist}
Release: 2%{?dist}
License: GPL/LGPL
URL: http://sources.redhat.com/binutils
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -88,10 +88,6 @@ cd ..
%build
export PATH="%{_bindir}:${PATH}"
%if "m32c-rtems4.10" == "i686-pc-cygwin"
# The cygwin sources are leaking memory
RPM_OPT_FLAGS="$(echo "$RPM_OPT_FLAGS"|sed -e 's; -Wp,-D_FORTIFY_SOURCE=2;;')"
%endif
mkdir -p build
cd build
%if "%{_build}" != "%{_host}"

View File

@@ -6,7 +6,7 @@ include $(top_srcdir)/mkspec.am
BINUTILS_VERS = 2.20
BINUTILS_PKGVERS = $(BINUTILS_VERS)
BINUTILS_RPMREL = 1
BINUTILS_RPMREL = 2
include ../binutils.am
BINUTILS_OPTS +=

View File

@@ -53,7 +53,7 @@ Name: rtems-4.10-m32r-rtems4.10-binutils
Summary: Binutils for target m32r-rtems4.10
Group: Development/Tools
Version: %{binutils_rpmvers}
Release: 1%{?dist}
Release: 2%{?dist}
License: GPL/LGPL
URL: http://sources.redhat.com/binutils
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -88,10 +88,6 @@ cd ..
%build
export PATH="%{_bindir}:${PATH}"
%if "m32r-rtems4.10" == "i686-pc-cygwin"
# The cygwin sources are leaking memory
RPM_OPT_FLAGS="$(echo "$RPM_OPT_FLAGS"|sed -e 's; -Wp,-D_FORTIFY_SOURCE=2;;')"
%endif
mkdir -p build
cd build
%if "%{_build}" != "%{_host}"

View File

@@ -6,7 +6,7 @@ include $(top_srcdir)/mkspec.am
BINUTILS_VERS = 2.20
BINUTILS_PKGVERS = $(BINUTILS_VERS)
BINUTILS_RPMREL = 1
BINUTILS_RPMREL = 2
include ../binutils.am
BINUTILS_OPTS +=

View File

@@ -53,7 +53,7 @@ Name: rtems-4.10-m68k-rtems4.10-binutils
Summary: Binutils for target m68k-rtems4.10
Group: Development/Tools
Version: %{binutils_rpmvers}
Release: 1%{?dist}
Release: 2%{?dist}
License: GPL/LGPL
URL: http://sources.redhat.com/binutils
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -88,10 +88,6 @@ cd ..
%build
export PATH="%{_bindir}:${PATH}"
%if "m68k-rtems4.10" == "i686-pc-cygwin"
# The cygwin sources are leaking memory
RPM_OPT_FLAGS="$(echo "$RPM_OPT_FLAGS"|sed -e 's; -Wp,-D_FORTIFY_SOURCE=2;;')"
%endif
mkdir -p build
cd build
%if "%{_build}" != "%{_host}"

View File

@@ -6,7 +6,7 @@ include $(top_srcdir)/mkspec.am
BINUTILS_VERS = 2.20
BINUTILS_PKGVERS = $(BINUTILS_VERS)
BINUTILS_RPMREL = 1
BINUTILS_RPMREL = 2
include ../binutils.am
BINUTILS_OPTS +=

View File

@@ -53,7 +53,7 @@ Name: rtems-4.10-mips-rtems4.10-binutils
Summary: Binutils for target mips-rtems4.10
Group: Development/Tools
Version: %{binutils_rpmvers}
Release: 1%{?dist}
Release: 2%{?dist}
License: GPL/LGPL
URL: http://sources.redhat.com/binutils
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -88,10 +88,6 @@ cd ..
%build
export PATH="%{_bindir}:${PATH}"
%if "mips-rtems4.10" == "i686-pc-cygwin"
# The cygwin sources are leaking memory
RPM_OPT_FLAGS="$(echo "$RPM_OPT_FLAGS"|sed -e 's; -Wp,-D_FORTIFY_SOURCE=2;;')"
%endif
mkdir -p build
cd build
%if "%{_build}" != "%{_host}"

View File

@@ -6,7 +6,7 @@ include $(top_srcdir)/mkspec.am
BINUTILS_VERS = 2.20
BINUTILS_PKGVERS = $(BINUTILS_VERS)
BINUTILS_RPMREL = 1
BINUTILS_RPMREL = 2
include ../binutils.am
BINUTILS_OPTS +=

View File

@@ -53,7 +53,7 @@ Name: rtems-4.10-powerpc-rtems4.10-binutils
Summary: Binutils for target powerpc-rtems4.10
Group: Development/Tools
Version: %{binutils_rpmvers}
Release: 1%{?dist}
Release: 2%{?dist}
License: GPL/LGPL
URL: http://sources.redhat.com/binutils
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -88,10 +88,6 @@ cd ..
%build
export PATH="%{_bindir}:${PATH}"
%if "powerpc-rtems4.10" == "i686-pc-cygwin"
# The cygwin sources are leaking memory
RPM_OPT_FLAGS="$(echo "$RPM_OPT_FLAGS"|sed -e 's; -Wp,-D_FORTIFY_SOURCE=2;;')"
%endif
mkdir -p build
cd build
%if "%{_build}" != "%{_host}"

View File

@@ -6,7 +6,7 @@ include $(top_srcdir)/mkspec.am
BINUTILS_VERS = 2.20
BINUTILS_PKGVERS = $(BINUTILS_VERS)
BINUTILS_RPMREL = 1
BINUTILS_RPMREL = 2
include ../binutils.am
BINUTILS_OPTS +=

View File

@@ -53,7 +53,7 @@ Name: rtems-4.10-sh-rtems4.10-binutils
Summary: Binutils for target sh-rtems4.10
Group: Development/Tools
Version: %{binutils_rpmvers}
Release: 1%{?dist}
Release: 2%{?dist}
License: GPL/LGPL
URL: http://sources.redhat.com/binutils
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -88,10 +88,6 @@ cd ..
%build
export PATH="%{_bindir}:${PATH}"
%if "sh-rtems4.10" == "i686-pc-cygwin"
# The cygwin sources are leaking memory
RPM_OPT_FLAGS="$(echo "$RPM_OPT_FLAGS"|sed -e 's; -Wp,-D_FORTIFY_SOURCE=2;;')"
%endif
mkdir -p build
cd build
%if "%{_build}" != "%{_host}"

View File

@@ -6,7 +6,7 @@ include $(top_srcdir)/mkspec.am
BINUTILS_VERS = 2.20
BINUTILS_PKGVERS = $(BINUTILS_VERS)
BINUTILS_RPMREL = 1
BINUTILS_RPMREL = 2
include ../binutils.am
BINUTILS_OPTS +=

View File

@@ -53,7 +53,7 @@ Name: rtems-4.10-sparc-rtems4.10-binutils
Summary: Binutils for target sparc-rtems4.10
Group: Development/Tools
Version: %{binutils_rpmvers}
Release: 1%{?dist}
Release: 2%{?dist}
License: GPL/LGPL
URL: http://sources.redhat.com/binutils
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -88,10 +88,6 @@ cd ..
%build
export PATH="%{_bindir}:${PATH}"
%if "sparc-rtems4.10" == "i686-pc-cygwin"
# The cygwin sources are leaking memory
RPM_OPT_FLAGS="$(echo "$RPM_OPT_FLAGS"|sed -e 's; -Wp,-D_FORTIFY_SOURCE=2;;')"
%endif
mkdir -p build
cd build
%if "%{_build}" != "%{_host}"