summaryrefslogtreecommitdiffstats
path: root/contrib/crossrpms/rtems4.9/powerpc/rtems-4.9-powerpc-rtems4.9-binutils.spec
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2009-01-21 12:19:03 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2009-01-21 12:19:03 +0000
commita7a8491dc04a0f115c934a506b4eacf780d953f6 (patch)
tree5832fa6e0411f2cd888ce5c44631f1eaea76a27b /contrib/crossrpms/rtems4.9/powerpc/rtems-4.9-powerpc-rtems4.9-binutils.spec
parentBump RPMREL. (diff)
downloadrtems-a7a8491dc04a0f115c934a506b4eacf780d953f6.tar.bz2
Bump BINUTILS_RPMREL.
Diffstat (limited to '')
-rw-r--r--contrib/crossrpms/rtems4.9/powerpc/rtems-4.9-powerpc-rtems4.9-binutils.spec14
1 files changed, 11 insertions, 3 deletions
diff --git a/contrib/crossrpms/rtems4.9/powerpc/rtems-4.9-powerpc-rtems4.9-binutils.spec b/contrib/crossrpms/rtems4.9/powerpc/rtems-4.9-powerpc-rtems4.9-binutils.spec
index 0eb8113121..8de4fab157 100644
--- a/contrib/crossrpms/rtems4.9/powerpc/rtems-4.9-powerpc-rtems4.9-binutils.spec
+++ b/contrib/crossrpms/rtems4.9/powerpc/rtems-4.9-powerpc-rtems4.9-binutils.spec
@@ -21,14 +21,22 @@
%ifos cygwin cygwin32 mingw mingw32
%define _exeext .exe
+%define debug_package %{nil}
+%define _libdir %{_exec_prefix}/lib
%else
%define _exeext %{nil}
%endif
%ifos cygwin cygwin32
%define optflags -O3 -pipe -march=i486 -funroll-loops
-%define _libdir %{_exec_prefix}/lib
-%define debug_package %{nil}
+%endif
+
+%ifos mingw mingw32
+%if %{defined _mingw32_cflags}
+%define optflags %{_mingw32_cflags}
+%else
+%define optflags -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -mms-bitfields
+%endif
%endif
%if "%{_build}" != "%{_host}"
@@ -45,7 +53,7 @@ Name: rtems-4.9-powerpc-rtems4.9-binutils
Summary: Binutils for target powerpc-rtems4.9
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)