diff --git a/llvm.changes b/llvm.changes index 03e665e..1f33554 100644 --- a/llvm.changes +++ b/llvm.changes @@ -2,7 +2,6 @@ Fri Sep 5 16:09:45 UTC 2014 - idonmez@suse.com - Use ninja for building -- Remove libstdc++-devel from requires, clang now ships libc++ ------------------------------------------------------------------- Thu Sep 4 12:26:10 UTC 2014 - idonmez@suse.com @@ -10,7 +9,7 @@ Thu Sep 4 12:26:10 UTC 2014 - idonmez@suse.com - Update to llvm 3.5.0 * Major update, see http://llvm.org/releases/3.5.0/docs/ReleaseNotes.html - Use upstream pristine tarballs -- Add libc++/libc++abi support clang +- Add libc++/libc++abi support clang (only on x86_64) - Add libcxxabi-exceptions.patch to fix libcxxabi exception handling - Remove asan-disable-hugemalloctest.patch and cmake-patchversion.patch, fixed upstream. diff --git a/llvm.spec b/llvm.spec index 4326251..af70a21 100644 --- a/llvm.spec +++ b/llvm.spec @@ -104,6 +104,7 @@ Group: Development/Languages/Other Requires: %{name} = %{version} Requires: binutils Requires: libclang = %{version}-%{release} +Requires: libstdc++-devel Provides: clang %description clang @@ -164,7 +165,7 @@ This package contains the Python bindings to clang (C language) frontend for LLV mv cfe-%{version}.src tools/clang mv compiler-rt-%{version}.src projects/compiler-rt -%ifarch %{ix86} x86_64 +%ifarch x86_64 mv libcxx-%{version}.src projects/libcxx mv libcxxabi-%{version}.src projects/libcxxabi %endif @@ -312,7 +313,7 @@ ln -s lib lib64 ninja check ninja clang-test -%ifarch %{ix86} x86_64 +%ifarch x86_64 ninja check-libcxxabi %endif @@ -462,7 +463,7 @@ rm %{buildroot}%{_mandir}/man1/lit.1 %{_datadir}/clang %{_mandir}/man1/clang.1%{ext_man} %{_libdir}/libLTO.* -%ifarch %{ix86} x86_64 +%ifarch x86_64 %{_libdir}/libc++* %{_includedir}/c++/* %endif