From 4ff9ecac2464b6f643d538b3612aaa870b83771a Mon Sep 17 00:00:00 2001 From: Michel Alexandre Salim Date: Thu, 10 Sep 2009 03:04:02 +0000 Subject: [PATCH] - Disable var tracking assignments on PPC --- llvm.spec | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/llvm.spec b/llvm.spec index 5bc526b..6cdd7a6 100644 --- a/llvm.spec +++ b/llvm.spec @@ -5,7 +5,7 @@ Name: llvm Version: 2.6 -Release: 0.4.pre1%{?dist} +Release: 0.5.pre1%{?dist} Summary: The Low Level Virtual Machine Group: Development/Languages @@ -169,6 +169,11 @@ popd # Disabling assertions now, rec. by pure and needed for OpenGTL # no PIC on ix86: http://llvm.org/bugs/show_bug.cgi?id=3239 mkdir obj && cd obj +%ifarch ppc +CXXFLAGS="%{optflags} -fno-var-tracking-assignments" \ +%else +CXXFLAGS="%{optflags}" \ +%endif ../configure \ --prefix=%{_prefix} \ --libdir=%{_libdir}/%{name} \ @@ -352,6 +357,9 @@ rm -rf %{buildroot} %changelog +* Wed Sep 9 2009 Michel Salim - 2.6-0.5.pre1 +- Disable var tracking assignments on PPC + * Wed Sep 9 2009 Michel Salim - 2.6-0.4.pre1 - Don't adjust clang include dir; files there are noarch (bz#521893) - Enable clang unit tests