From 15b7c1b1f63b3d21898fee4ac9fc76adabb1f6a0 Mon Sep 17 00:00:00 2001 From: Michel Alexandre Salim Date: Sat, 22 Aug 2009 21:18:32 +0000 Subject: [PATCH] - Only disable PIC on %ix86; ppc actually needs it --- llvm.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/llvm.spec b/llvm.spec index d84f1f5..73d6fba 100644 --- a/llvm.spec +++ b/llvm.spec @@ -15,7 +15,7 @@ Name: llvm Version: 2.5 -Release: 4%{?dist} +Release: 5%{?dist} Summary: The Low Level Virtual Machine Group: Development/Languages @@ -159,7 +159,7 @@ for developing applications that use %{name}-ocaml. --enable-debug-runtime \ --enable-jit \ --enable-optimized \ -%ifarch x86_64 +%ifnarch %ix86 --enable-pic %endif # --enable-targets=host-only \ @@ -352,6 +352,9 @@ rm -rf %{buildroot} %changelog +* Sat Aug 22 2009 Michel Salim - 2.5-5 +- Only disable PIC on %%ix86; ppc actually needs it + * Sat Aug 22 2009 Michel Salim - 2.5-4 - Disable use of position-independent code on 32-bit platforms (buggy in LLVM <= 2.5)