summaryrefslogtreecommitdiffstats
path: root/cygwin-gcc.spec
diff options
context:
space:
mode:
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