summaryrefslogtreecommitdiffstats
path: root/contrib/crossrpms/autotools
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2009-01-26 07:17:37 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2009-01-26 07:17:37 +0000
commit35381baa883d616c48403a1e3f14f11c68872a9e (patch)
tree2b66710801871bf2d764f24b0c7b9fa09c382f32 /contrib/crossrpms/autotools
parentAbandon gccnewlib_version. (diff)
downloadrtems-35381baa883d616c48403a1e3f14f11c68872a9e.tar.bz2
BR: exact version of build host tools for Cdn-X builds.
Diffstat (limited to 'contrib/crossrpms/autotools')
-rw-r--r--contrib/crossrpms/autotools/rtems-4.10-autoconf.spec12
-rw-r--r--contrib/crossrpms/autotools/rtems-4.10-automake.spec12
2 files changed, 20 insertions, 4 deletions
diff --git a/contrib/crossrpms/autotools/rtems-4.10-autoconf.spec b/contrib/crossrpms/autotools/rtems-4.10-autoconf.spec
index cef2cd114d..9de5dd2610 100644
--- a/contrib/crossrpms/autotools/rtems-4.10-autoconf.spec
+++ b/contrib/crossrpms/autotools/rtems-4.10-autoconf.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}"
diff --git a/contrib/crossrpms/autotools/rtems-4.10-automake.spec b/contrib/crossrpms/autotools/rtems-4.10-automake.spec
index 71f286d252..12b70eaf92 100644
--- a/contrib/crossrpms/autotools/rtems-4.10-automake.spec
+++ b/contrib/crossrpms/autotools/rtems-4.10-automake.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}"