[llvm/f17] undefine PPC on ppc as a temporary workaround for RHBZ#769803 and http://llvm.org/bugs/show_bug.cgi?

Karsten Hopp karsten at fedoraproject.org
Sat Mar 17 21:36:50 UTC 2012


commit 8fe0322526d50eb11787782a1949b84e377f0891
Author: Karsten Hopp <karsten at redhat.com>
Date:   Sat Mar 17 22:36:00 2012 +0100

    undefine PPC on ppc as a temporary workaround for RHBZ#769803
    and http://llvm.org/bugs/show_bug.cgi?id=10969

 llvm.spec |    9 +++++++--
 1 files changed, 7 insertions(+), 2 deletions(-)
---
diff --git a/llvm.spec b/llvm.spec
index 415f77c..a02c218 100644
--- a/llvm.spec
+++ b/llvm.spec
@@ -31,7 +31,7 @@ ExcludeArch: s390 s390x ppc ppc64
 
 Name:           llvm
 Version:        3.0
-Release:        8%{?dist}
+Release:        9%{?dist}
 Summary:        The Low Level Virtual Machine
 
 Group:          Development/Languages
@@ -286,7 +286,7 @@ sed -i 's|(PROJ_prefix)/lib|(PROJ_prefix)/%{_lib}/%{name}|g' Makefile.config
 
 make %{_smp_mflags} REQUIRES_RTTI=1 VERBOSE=1 \
 %ifarch ppc
-  OPTIMIZE_OPTION="%{optflags} -fno-var-tracking-assignments"
+  OPTIMIZE_OPTION="%{optflags} -fno-var-tracking-assignments -UPPC"
 %else
   OPTIMIZE_OPTION="%{optflags}"
 %endif
@@ -523,6 +523,11 @@ exit 0
 %endif
 
 %changelog
+* Sat Mar 17 2012 Karsten Hopp <karsten at redhat.com> 3.0-9
+- undefine PPC on ppc as a temporary workaround for 
+  http://llvm.org/bugs/show_bug.cgi?id=10969 and 
+  RHBZ#769803
+
 * Sat Feb 25 2012 Michel Salim <salimma at fedoraproject.org> - 3.0-8
 - Apply upstream patch to properly link LLVMgold against LTO
 


More information about the scm-commits mailing list