Fix rpm build warning/error: absolute symlink

This commit is contained in:
Konrad Kleine 2022-01-28 11:41:01 +01:00
parent 382bccbe41
commit ba84e45517

View file

@ -385,7 +385,7 @@ cp -R utils/UpdateTestChecks %{install_srcdir}/utils/
%if %{with gold} %if %{with gold}
# Add symlink to lto plugin in the binutils plugin directory. # Add symlink to lto plugin in the binutils plugin directory.
%{__mkdir_p} %{buildroot}%{_libdir}/bfd-plugins/ %{__mkdir_p} %{buildroot}%{_libdir}/bfd-plugins/
ln -s %{_libdir}/LLVMgold.so %{buildroot}%{_libdir}/bfd-plugins/ ln -s -t %{buildroot}%{_libdir}/bfd-plugins/ ../LLVMgold.so
%endif %endif
%else %else