Integrate compat change from llvm7.0

This commit is contained in:
serge-sans-paille 2019-02-26 16:17:22 +00:00
parent 7d9203efc8
commit 06970df22f

View File

@ -368,7 +368,6 @@ fi
%{_datadir}/opt-viewer %{_datadir}/opt-viewer
%exclude %{llvm_bindir}/unittests %exclude %{llvm_bindir}/unittests
%else %else
%config(noreplace) %{_sysconfdir}/ld.so.conf.d/%{name}-%{_arch}.conf
%exclude %{pkg_bindir}/llvm-config %exclude %{pkg_bindir}/llvm-config
%{pkg_bindir} %{pkg_bindir}
%endif %endif
@ -382,6 +381,7 @@ fi
%{_libdir}/libLLVM-%{maj_ver}.%{min_ver}*.so %{_libdir}/libLLVM-%{maj_ver}.%{min_ver}*.so
%{_libdir}/libLTO.so* %{_libdir}/libLTO.so*
%else %else
%config(noreplace) %{_sysconfdir}/ld.so.conf.d/%{name}-%{_arch}.conf
%if %{with gold} %if %{with gold}
%{_libdir}/%{name}/lib/LLVMgold.so %{_libdir}/%{name}/lib/LLVMgold.so
%endif %endif