[rtems-crossrpms commit] Bump GCC_RPMREL.
Ralf Corsepius
ralf at rtems.org
Wed Jun 5 07:05:36 UTC 2013
Module: rtems-crossrpms
Branch: master
Commit: 0b87b5617b36bf1ec97073e1e79c3de7be42f2a7
Changeset: http://git.rtems.org/rtems-crossrpms/commit/?id=0b87b5617b36bf1ec97073e1e79c3de7be42f2a7
Author: Ralf Corsépius <ralf.corsepius at rtems.org>
Date: Tue Jun 4 11:00:37 2013 +0200
Bump GCC_RPMREL.
---
cygwin/i686/Makefile.am | 2 +-
cygwin/i686/Makefile.in | 2 +-
cygwin/i686/i686-pc-cygwin-gcc.spec | 10 ++++++++--
3 files changed, 10 insertions(+), 4 deletions(-)
diff --git a/cygwin/i686/Makefile.am b/cygwin/i686/Makefile.am
index 35bf119..70fc351 100644
--- a/cygwin/i686/Makefile.am
+++ b/cygwin/i686/Makefile.am
@@ -60,7 +60,7 @@ BINUTILS_OPTS += --disable-infos
GCC_VERS = 3.4.4
GCC_PKGVERS = $(GCC_VERS)
-GCC_RPMREL = 0.20130308.0
+GCC_RPMREL = 0.20130604.0
include ../gcc.am
GCC_OPTS += --languages=c,cxx
GCC_OPTS += --disable-infos
diff --git a/cygwin/i686/Makefile.in b/cygwin/i686/Makefile.in
index 3803365..0f8a704 100644
--- a/cygwin/i686/Makefile.in
+++ b/cygwin/i686/Makefile.in
@@ -332,7 +332,7 @@ BINUTILS_SUBPACKAGES = $(top_srcdir)/common/common.add \
$(top_srcdir)/binutils/base-binutils.add
GCC_VERS = 3.4.4
GCC_PKGVERS = $(GCC_VERS)
-GCC_RPMREL = 0.20130308.0
+GCC_RPMREL = 0.20130604.0
GCC_OPTS = --languages=c,cxx --disable-infos
GCC_SUBPACKAGES = $(top_srcdir)/common/common.add \
$(top_srcdir)/gcc/gccnewlib.add $(top_srcdir)/gcc/prep.add \
diff --git a/cygwin/i686/i686-pc-cygwin-gcc.spec b/cygwin/i686/i686-pc-cygwin-gcc.spec
index 2c7aa45..f49249f 100644
--- a/cygwin/i686/i686-pc-cygwin-gcc.spec
+++ b/cygwin/i686/i686-pc-cygwin-gcc.spec
@@ -42,14 +42,17 @@ Summary: i686-pc-cygwin gcc
Group: Development/Tools
Version: %{gcc_rpmvers}
-Release: 0.20130308.0%{?dist}
+Release: 0.20130604.0%{?dist}
License: GPL
URL: http://gcc.gnu.org
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+%{?el5:BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)}
%define _use_internal_dependency_generator 0
BuildRequires: %{_host_rpmprefix}gcc
+%if "%{gcc_version}" >= "4.8.0"
+BuildRequires: %{_host_rpmprefix}gcc-c++
+%endif
# FIXME: Disable lto for now, to avoid dependencies on libelf
%bcond_with lto
@@ -224,6 +227,9 @@ BuildRequires: %{_host_rpmprefix}mpfr-devel >= %{mpfr_required}
%if "%{_build}" != "%{_host}"
BuildRequires: i686-pc-cygwin-gcc = %{gcc_rpmvers}
+%if "%{gcc_version}" >= "4.8.0"
+BuildRequires: i686-pc-cygwin-gcc-c++ = %{gcc_rpmvers}
+%endif
%endif
# Not strictly required, but patches may introduce a need to use them.
More information about the vc
mailing list