rpms/llvm/F-11 llvm.spec,1.11,1.12

Michel Alexandre Salim salimma at fedoraproject.org
Sat Aug 22 18:30:05 UTC 2009


Author: salimma

Update of /cvs/pkgs/rpms/llvm/F-11
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv11709/F-11

Modified Files:
	llvm.spec 
Log Message:
* Sat Aug 22 2009 Michel Salim <salimma at fedoraproject.org> - 2.5-4
- Disable use of position-independent code on 32-bit platforms
  (buggy in LLVM <= 2.5)



Index: llvm.spec
===================================================================
RCS file: /cvs/pkgs/rpms/llvm/F-11/llvm.spec,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -p -r1.11 -r1.12
--- llvm.spec	5 Mar 2009 01:25:55 -0000	1.11
+++ llvm.spec	22 Aug 2009 18:30:05 -0000	1.12
@@ -15,7 +15,7 @@
 
 Name:           llvm
 Version:        2.5
-Release:        2%{?dist}
+Release:        4%{?dist}
 Summary:        The Low Level Virtual Machine
 
 Group:          Development/Languages
@@ -23,7 +23,7 @@ License:        NCSA
 URL:            http://llvm.org/
 Source0:        http://llvm.org/releases/%{version}/llvm-%{version}.tar.gz
 %if %{?_with_gcc:1}%{!?_with_gcc:0}
-Source1:        http://llvm.org/releases/%{version}/llvm-gcc%{lgcc_version}-%{version}.source.tar.gz
+Source1:        http://llvm.org/releases/%{version}/llvm-gcc-%{lgcc_version}-%{version}.source.tar.gz
 %endif
 Patch0:         llvm-2.1-fix-sed.patch
 Patch1:         llvm-2.4-fix-ocaml.patch
@@ -149,6 +149,8 @@ for developing applications that use %{n
 
 %build
 # 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 \
   --libdir=%{_libdir}/%{name} \
   --datadir=%{_datadir}/%{name}-%{version} \
@@ -157,8 +159,9 @@ for developing applications that use %{n
   --enable-debug-runtime \
   --enable-jit \
   --enable-optimized \
-  --enable-pic \
-  --with-pic
+%ifarch x86_64
+  --enable-pic
+%endif
 #   --enable-targets=host-only \
 
 make %{_smp_mflags} OPTIMIZE_OPTION='%{optflags}'
@@ -349,6 +352,10 @@ rm -rf %{buildroot}
 
 
 %changelog
+* Sat Aug 22 2009 Michel Salim <salimma at fedoraproject.org> - 2.5-4
+- Disable use of position-independent code on 32-bit platforms
+  (buggy in LLVM <= 2.5)
+
 * Wed Mar  4 2009 Michel Salim <salimma at fedoraproject.org> - 2.5-2
 - Remove build scripts; they require the build directory to work
 




More information about the fedora-extras-commits mailing list