mirror of
https://src.fedoraproject.org/rpms/llvm.git
synced 2024-12-01 03:32:55 +00:00
- Disable use of position-independent code on 32-bit platforms (buggy in
LLVM <= 2.5)
This commit is contained in:
parent
20fb6e8591
commit
09280fb25d
1 changed files with 10 additions and 3 deletions
13
llvm.spec
13
llvm.spec
|
@ -15,7 +15,7 @@
|
||||||
|
|
||||||
Name: llvm
|
Name: llvm
|
||||||
Version: 2.5
|
Version: 2.5
|
||||||
Release: 3%{?dist}
|
Release: 4%{?dist}
|
||||||
Summary: The Low Level Virtual Machine
|
Summary: The Low Level Virtual Machine
|
||||||
|
|
||||||
Group: Development/Languages
|
Group: Development/Languages
|
||||||
|
@ -149,6 +149,8 @@ for developing applications that use %{name}-ocaml.
|
||||||
|
|
||||||
%build
|
%build
|
||||||
# Note: --enable-pic can be turned off when 2.6 comes out
|
# Note: --enable-pic can be turned off when 2.6 comes out
|
||||||
|
# and up to 2.5, unsafe on 32-bit archs (in our case,
|
||||||
|
# anything but x86_64)
|
||||||
%configure \
|
%configure \
|
||||||
--libdir=%{_libdir}/%{name} \
|
--libdir=%{_libdir}/%{name} \
|
||||||
--datadir=%{_datadir}/%{name}-%{version} \
|
--datadir=%{_datadir}/%{name}-%{version} \
|
||||||
|
@ -157,8 +159,9 @@ for developing applications that use %{name}-ocaml.
|
||||||
--enable-debug-runtime \
|
--enable-debug-runtime \
|
||||||
--enable-jit \
|
--enable-jit \
|
||||||
--enable-optimized \
|
--enable-optimized \
|
||||||
--enable-pic \
|
%ifarch x86_64
|
||||||
--with-pic
|
--enable-pic
|
||||||
|
%endif
|
||||||
# --enable-targets=host-only \
|
# --enable-targets=host-only \
|
||||||
|
|
||||||
make %{_smp_mflags} OPTIMIZE_OPTION='%{optflags}'
|
make %{_smp_mflags} OPTIMIZE_OPTION='%{optflags}'
|
||||||
|
@ -349,6 +352,10 @@ rm -rf %{buildroot}
|
||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Sat Aug 22 2009 Michel Salim <salimma@fedoraproject.org> - 2.5-4
|
||||||
|
- Disable use of position-independent code on 32-bit platforms
|
||||||
|
(buggy in LLVM <= 2.5)
|
||||||
|
|
||||||
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.5-3
|
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.5-3
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue