[pure/el6] Not building with clang for now due to GCC 4.7.x issues

Michel Alexandre Salim salimma at fedoraproject.org
Sat Apr 7 07:32:16 UTC 2012


commit 38fffbb0bffd1184ab8ea80f8f3c55f9926d4f72
Author: Michel Alexandre Salim <salimma at fedoraproject.org>
Date:   Mon Feb 6 00:05:59 2012 +0100

    Not building with clang for now due to GCC 4.7.x issues

 pure.spec |   10 +++++++---
 1 files changed, 7 insertions(+), 3 deletions(-)
---
diff --git a/pure.spec b/pure.spec
index 8ab13a3..d8195a8 100644
--- a/pure.spec
+++ b/pure.spec
@@ -1,6 +1,6 @@
 Name:           pure
 Version:        0.51
-Release:        2%{?dist}
+Release:        3%{?dist}
 Summary:        A term-rewriting functional programming language
 
 Group:          Development/Languages
@@ -14,7 +14,8 @@ BuildRequires:  llvm-devel >= 2.5 flex bison
 # for LLVM 3.x, starting from Fedora 17
 # INSTALL says it should work from LLVM 2.8 but it does not seem to work
 # even in Fedora 16; perhaps due to libstdc++ issues
-%if 0%{?fedora} >= 17
+# note - disable for now; clang does not play well with GCC 4.7.x
+%if 0 && 0%{?fedora} >= 17
 BuildRequires:  clang
 %endif
 BuildRequires:  gmp-devel
@@ -86,7 +87,7 @@ cp -p %{SOURCE1} .
 
 
 %build
-%if 0%{?fedora} >= 17
+%if 0 && 0%{?fedora} >= 17
 export CC=clang
 export CXX=clang++
 %endif
@@ -166,6 +167,9 @@ rm -rf $RPM_BUILD_ROOT
 
 
 %changelog
+* Sun Feb  5 2012 Michel Salim <salimma at fedoraproject.org> - 0.51-3
+- Not building with clang for now due to GCC 4.7.x issues
+
 * Sat Feb  4 2012 Michel Salim <salimma at fedoraproject.org> - 0.51-2
 - Don't use --enable-release; this overrides compiler flags (#753573)
 


More information about the scm-commits mailing list