spec: enable gold based on target support

This commit is contained in:
Алексей Шепляков 2023-01-31 19:59:39 +04:00
parent 1b6ee0ceab
commit be7fea1d23

View File

@ -209,7 +209,7 @@ cd obj_binutils
--with-sysroot=%sysroot \
--with-build-sysroot=${stagedir}%sysroot \
--enable-plugins \
%if "%target_arch" != "loongarch64"
%if 0%{?target_has_gold}
--enable-gold=yes \
%endif
--enable-ld=default \