-
OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/llvm?expand=0&rev=366
This commit is contained in:
parent
2961939ca1
commit
d14254a5d1
13
libcxx-libdir.patch
Normal file
13
libcxx-libdir.patch
Normal 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}
|
||||
)
|
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user