diff options
author | Yaakov Selkowitz <yselkowitz@users.sourceforge.net> | 2013-06-30 22:30:19 -0500 |
---|---|---|
committer | Yaakov Selkowitz <yselkowitz@users.sourceforge.net> | 2013-06-30 22:30:19 -0500 |
commit | cbe4429dbe4fc6a8be40935c39a8e8b89c648065 (patch) | |
tree | f614a227089b4bf696e94cd63c2f8ab5fc9c7209 /cygwin-gcc.spec | |
parent | 08163f0587b4807e32a9fc0e4a887c8d45a641d1 (diff) | |
download | cygwin-gcc-cbe4429dbe4fc6a8be40935c39a8e8b89c648065.tar.gz cygwin-gcc-cbe4429dbe4fc6a8be40935c39a8e8b89c648065.tar.xz cygwin-gcc-cbe4429dbe4fc6a8be40935c39a8e8b89c648065.zip |
Disable graphite for RHEL 6
Diffstat (limited to 'cygwin-gcc.spec')
-rw-r--r-- | cygwin-gcc.spec | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/cygwin-gcc.spec b/cygwin-gcc.spec index 41f00e3..7133998 100644 --- a/cygwin-gcc.spec +++ b/cygwin-gcc.spec @@ -37,8 +37,10 @@ BuildRequires: cygwin32-w32api-runtime BuildRequires: gmp-devel BuildRequires: mpfr-devel BuildRequires: libmpc-devel +%if 0%{?fedora} >= 15 || 0%{?rhel} == 7 BuildRequires: ppl-devel >= 0.11 BuildRequires: cloog-ppl-devel >= 0.15 +%endif BuildRequires: zlib-devel BuildRequires: flex %if %{build_ada} @@ -259,8 +261,11 @@ CC="%{__cc} ${RPM_OPT_FLAGS}" \ --with-sysroot=%{cygwin32_sysroot} \ --enable-shared --enable-shared-libgcc --disable-__cxa_atexit \ --with-dwarf2 --disable-sjlj-exceptions \ +%if 0%{?fedora} >= 15 || 0%{?rhel} == 7 + --enable-graphite \ +%endif --enable-languages="c,c++,objc,obj-c++${enableljava},fortran${enablelada},lto" \ - --enable-graphite --enable-lto --disable-symvers \ + --enable-lto --disable-symvers \ --enable-libgomp --disable-libitm --enable-libssp \ --enable-libquadmath --enable-libquadmath-support \ --with-python-dir=/share/gcc-%{gcc_version}/%{cygwin32_target}/python \ |