Fix build without llvm-static
This commit is contained in:
parent
d5aeb58a5d
commit
9f38435b4a
6
lld.spec
6
lld.spec
@ -1,6 +1,6 @@
|
|||||||
Name: lld
|
Name: lld
|
||||||
Version: 4.0.0
|
Version: 4.0.0
|
||||||
Release: 3%{?dist}
|
Release: 4%{?dist}
|
||||||
Summary: The LLVM Linker
|
Summary: The LLVM Linker
|
||||||
|
|
||||||
License: NCSA
|
License: NCSA
|
||||||
@ -41,6 +41,7 @@ cd %{_target_platform}
|
|||||||
|
|
||||||
%cmake .. \
|
%cmake .. \
|
||||||
-DLLVM_LINK_LLVM_DYLIB:BOOL=ON \
|
-DLLVM_LINK_LLVM_DYLIB:BOOL=ON \
|
||||||
|
-DLLVM_DYLIB_COMPONENTS="all" \
|
||||||
%if 0%{?__isa_bits} == 64
|
%if 0%{?__isa_bits} == 64
|
||||||
-DLLVM_LIBDIR_SUFFIX=64
|
-DLLVM_LIBDIR_SUFFIX=64
|
||||||
%else
|
%else
|
||||||
@ -77,6 +78,9 @@ chrpath --delete %{buildroot}%{_libdir}/*.so*
|
|||||||
%{_libdir}/liblld*.so.*
|
%{_libdir}/liblld*.so.*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Jul 04 2017 Tom Stellard <tstellar@redhat.com> - 4.0.0-4
|
||||||
|
- Fix build without llvm-static
|
||||||
|
|
||||||
* Wed May 31 2017 Tom Stellard <tstellar@redhat.com> - 4.0.0-3
|
* Wed May 31 2017 Tom Stellard <tstellar@redhat.com> - 4.0.0-3
|
||||||
- Remove llvm-static dependency
|
- Remove llvm-static dependency
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user