summaryrefslogtreecommitdiffstats
path: root/contrib/crossrpms/rtems4.10/h8300
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/rtems4.10/h8300
parentAbandon gccnewlib_version. (diff)
downloadrtems-35381baa883d616c48403a1e3f14f11c68872a9e.tar.bz2
BR: exact version of build host tools for Cdn-X builds.
Diffstat (limited to 'contrib/crossrpms/rtems4.10/h8300')
-rw-r--r--contrib/crossrpms/rtems4.10/h8300/rtems-4.10-h8300-rtems4.10-binutils.spec12
-rw-r--r--contrib/crossrpms/rtems4.10/h8300/rtems-4.10-h8300-rtems4.10-cpukit.spec12
-rw-r--r--contrib/crossrpms/rtems4.10/h8300/rtems-4.10-h8300-rtems4.10-gcc.spec34
3 files changed, 38 insertions, 20 deletions
diff --git a/contrib/crossrpms/rtems4.10/h8300/rtems-4.10-h8300-rtems4.10-binutils.spec b/contrib/crossrpms/rtems4.10/h8300/rtems-4.10-h8300-rtems4.10-binutils.spec
index 3ba8666d3a..0cf5874d35 100644
--- a/contrib/crossrpms/rtems4.10/h8300/rtems-4.10-h8300-rtems4.10-binutils.spec
+++ b/contrib/crossrpms/rtems4.10/h8300/rtems-4.10-h8300-rtems4.10-binutils.spec
@@ -21,14 +21,22 @@
%ifos cygwin cygwin32 mingw mingw32
%define _exeext .exe
-%define debug_package %{nil}
+%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
+%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/rtems4.10/h8300/rtems-4.10-h8300-rtems4.10-cpukit.spec b/contrib/crossrpms/rtems4.10/h8300/rtems-4.10-h8300-rtems4.10-cpukit.spec
index b10ca8f984..a7997f102d 100644
--- a/contrib/crossrpms/rtems4.10/h8300/rtems-4.10-h8300-rtems4.10-cpukit.spec
+++ b/contrib/crossrpms/rtems4.10/h8300/rtems-4.10-h8300-rtems4.10-cpukit.spec
@@ -21,14 +21,22 @@
%ifos cygwin cygwin32 mingw mingw32
%define _exeext .exe
-%define debug_package %{nil}
+%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
+%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/rtems4.10/h8300/rtems-4.10-h8300-rtems4.10-gcc.spec b/contrib/crossrpms/rtems4.10/h8300/rtems-4.10-h8300-rtems4.10-gcc.spec
index 2782eaae7e..a78c1022d8 100644
--- a/contrib/crossrpms/rtems4.10/h8300/rtems-4.10-h8300-rtems4.10-gcc.spec
+++ b/contrib/crossrpms/rtems4.10/h8300/rtems-4.10-h8300-rtems4.10-gcc.spec
@@ -21,14 +21,22 @@
%ifos cygwin cygwin32 mingw mingw32
%define _exeext .exe
-%define debug_package %{nil}
+%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
+%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}"
@@ -44,7 +52,7 @@
%define newlib_pkgvers 1.17.0
%define newlib_version 1.17.0
-%define gccnewlib_version gcc%{gcc_version}newlib%{newlib_version}
+%define newlib_release 21%{?dist}
%define mpfr_version 2.3.1
@@ -53,7 +61,7 @@ Summary: h8300-rtems4.10 gcc
Group: Development/Tools
Version: %{gcc_rpmvers}
-Release: 20%{?dist}
+Release: 21%{?dist}
License: GPL
URL: http://gcc.gnu.org
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -76,12 +84,11 @@ BuildRequires: mpfr-devel >= 2.3.0
%endif
# These distros ship an insufficient mpfr
%{?el4:%define _build_mpfr 1}
-%{?suse10_2:%define _build_mpfr 1}
%{?suse10_3:%define _build_mpfr 1}
%endif
%if "%{_build}" != "%{_host}"
-BuildRequires: rtems-4.10-h8300-rtems4.10-gcc
+BuildRequires: rtems-4.10-h8300-rtems4.10-gcc = %{gcc_rpmvers}
%endif
%if "%{gcc_version}" >= "4.2.0"
@@ -94,7 +101,7 @@ BuildRequires: rtems-4.10-h8300-rtems4.10-binutils
Requires: rtems-4.10-gcc-common
Requires: rtems-4.10-h8300-rtems4.10-binutils
-Requires: rtems-4.10-h8300-rtems4.10-newlib = %{newlib_version}-%{release}
+Requires: rtems-4.10-h8300-rtems4.10-newlib = %{newlib_version}-%{newlib_release}
%if "%{gcc_version}" >= "3.4"
@@ -423,7 +430,7 @@ sed -e 's,^[ ]*/usr/lib/rpm/find-debuginfo.sh,./find-debuginfo.sh,' \
# Group: Development/Tools
# Version: %{gcc_rpmvers}
# Requires: rtems-4.10-h8300-rtems4.10-binutils
-# Requires: rtems-4.10-h8300-rtems4.10-newlib = %{newlib_version}-%{release}
+# Requires: rtems-4.10-h8300-rtems4.10-newlib = %{newlib_version}-%{newlib_release}
# License: GPL
# %if %build_infos
@@ -539,7 +546,7 @@ Version: %{gcc_rpmvers}
License: GPL
%if "%{_build}" != "%{_host}"
-BuildRequires: rtems-4.10-h8300-rtems4.10-gcc-c++
+BuildRequires: rtems-4.10-h8300-rtems4.10-gcc-c++ = %{gcc_rpmvers}
%endif
Provides: rtems-4.10-h8300-rtems4.10-c++ = %{gcc_rpmvers}-%{release}
Obsoletes: rtems-4.10-h8300-rtems4.10-c++ < %{gcc_rpmvers}-%{release}
@@ -563,11 +570,7 @@ GCC c++ compiler for h8300-rtems4.10.
%{gccexec}/h8300-rtems4.10/%{gcc_version}/cc1plus%{_exeext}
%dir %{gcclib}/h8300-rtems4.10/%{gcc_version}/include
-%if "%{gcc_version}" >= "3.2"
%{gcclib}/h8300-rtems4.10/%{gcc_version}/include/c++
-%else
-%{gcclib}/h8300-rtems4.10/%{gcc_version}/include/g++
-%endif
@@ -579,9 +582,7 @@ Summary: C Library (newlib) for h8300-rtems4.10
Group: Development/Tools
License: Distributable
Version: %{newlib_version}
-
-Provides: rtems-4.10-h8300-rtems4.10-libc = %{newlib_version}-%{release}
-Obsoletes: rtems-4.10-h8300-rtems4.10-libc < %{newlib_version}-%{release}
+Release: %{newlib_release}
Requires: rtems-4.10-newlib-common
@@ -601,6 +602,7 @@ Newlib C Library for h8300-rtems4.10.
Summary: Base package for RTEMS newlib C Library
Group: Development/Tools
Version: %{newlib_version}
+Release: %{newlib_release}
License: Distributable
Requires(post): /sbin/install-info