- Only disable PIC on %ix86; ppc actually needs it

This commit is contained in:
Michel Alexandre Salim 2009-08-22 21:18:32 +00:00
parent fabb80e6f6
commit 5a5c2aab02

View File

@ -15,7 +15,7 @@
Name: llvm Name: llvm
Version: 2.5 Version: 2.5
Release: 4%{?dist} Release: 5%{?dist}
Summary: The Low Level Virtual Machine Summary: The Low Level Virtual Machine
Group: Development/Languages Group: Development/Languages
@ -159,7 +159,7 @@ for developing applications that use %{name}-ocaml.
--enable-debug-runtime \ --enable-debug-runtime \
--enable-jit \ --enable-jit \
--enable-optimized \ --enable-optimized \
%ifarch x86_64 %ifnarch %ix86
--enable-pic --enable-pic
%endif %endif
# --enable-targets=host-only \ # --enable-targets=host-only \
@ -352,6 +352,9 @@ rm -rf %{buildroot}
%changelog %changelog
* Sat Aug 22 2009 Michel Salim <salimma@fedoraproject.org> - 2.5-5
- Only disable PIC on %%ix86; ppc actually needs it
* Sat Aug 22 2009 Michel Salim <salimma@fedoraproject.org> - 2.5-4 * Sat Aug 22 2009 Michel Salim <salimma@fedoraproject.org> - 2.5-4
- Disable use of position-independent code on 32-bit platforms - Disable use of position-independent code on 32-bit platforms
(buggy in LLVM <= 2.5) (buggy in LLVM <= 2.5)