SHA256
1
0
forked from pool/llvm
Ismail Dönmez 2014-09-04 18:43:28 +00:00 committed by Git OBS Bridge
parent 2961939ca1
commit d14254a5d1
2 changed files with 19 additions and 0 deletions

13
libcxx-libdir.patch Normal file
View File

@ -0,0 +1,13 @@
Index: libcxx-3.5.0.src/lib/CMakeLists.txt
===================================================================
--- libcxx-3.5.0.src.orig/lib/CMakeLists.txt
+++ libcxx-3.5.0.src/lib/CMakeLists.txt
@@ -96,6 +96,6 @@ set_target_properties(cxx
)
install(TARGETS cxx
- LIBRARY DESTINATION lib
- ARCHIVE DESTINATION lib
+ LIBRARY DESTINATION lib${LLVM_LIBDIR_SUFFIX}
+ ARCHIVE DESTINATION lib${LLVM_LIBDIR_SUFFIX}
)

View File

@ -53,6 +53,7 @@ Patch8: aarch64-suse-support.patch
Patch9: arm-remove-xfails.diff
Patch10: clang-resourcedirs.patch
Patch11: libcxxabi-exceptions.patch
Patch12: libcxx-libdir.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: autoconf
BuildRequires: automake
@ -162,6 +163,7 @@ This package contains the Python bindings to clang (C language) frontend for LLV
%patch9
%patch10
%patch11
%patch12
# Move into right place
mv cfe-%{version}.src tools/clang
@ -322,7 +324,11 @@ ln -s lib lib64
make check
make clang-test
%ifarch %{ix86} x86_64
make check-libcxxabi
%endif
%endif
%endif