summaryrefslogtreecommitdiffstats
path: root/cygwin-gcc.spec
diff options
context:
space:
mode:
authorYaakov Selkowitz <yselkowi@redhat.com>2015-06-19 03:01:14 -0500
committerYaakov Selkowitz <yselkowi@redhat.com>2015-06-19 03:01:14 -0500
commit26b2737ff02c515662637f9955f57f9c65238bbc (patch)
treef603980865b90b7dd8b2fe6e3c75fbdd6fb0a2fe /cygwin-gcc.spec
parent6f91efa3e6e85685bbf7a4e07e7cf2324d2388cb (diff)
downloadcygwin-gcc-26b2737ff02c515662637f9955f57f9c65238bbc.tar.gz
cygwin-gcc-26b2737ff02c515662637f9955f57f9c65238bbc.tar.xz
cygwin-gcc-26b2737ff02c515662637f9955f57f9c65238bbc.zip
Fix build on RHEL 6
Diffstat (limited to 'cygwin-gcc.spec')
-rw-r--r--cygwin-gcc.spec2
1 files changed, 2 insertions, 0 deletions
diff --git a/cygwin-gcc.spec b/cygwin-gcc.spec
index e037291..408882b 100644
--- a/cygwin-gcc.spec
+++ b/cygwin-gcc.spec
@@ -40,7 +40,9 @@ BuildRequires: cygwin64-w32api-runtime
BuildRequires: gmp-devel
BuildRequires: mpfr-devel
BuildRequires: libmpc-devel
+%if 0%{?fedora} || 0%{?rhel} >= 7
BuildRequires: libstdc++-static
+%endif
%if 0%{?fedora} >= 20
BuildRequires: isl-devel >= 0.11.1
BuildRequires: cloog-devel >= 0.18.0