glibc: set preferred linker to bfd

glibc has minimal dependencies so only bfd and gold linkers from
binutils are available.

As glibc doesn't link with gold set bfd as the preferred linker
to prevent linking with gold or any other linker.

Signed-off-by: Matthias Reichl <hias@horus.com>
This commit is contained in:
Matthias Reichl 2022-09-27 23:46:42 +02:00
parent ff772b638c
commit 87b07a816a

View File

@ -11,7 +11,7 @@ PKG_URL="https://ftp.gnu.org/pub/gnu/glibc/${PKG_NAME}-${PKG_VERSION}.tar.xz"
PKG_DEPENDS_TARGET="ccache:host autotools:host linux:host gcc:bootstrap pigz:host Python3:host"
PKG_DEPENDS_INIT="glibc"
PKG_LONGDESC="The Glibc package contains the main C library."
PKG_BUILD_FLAGS="-gold"
PKG_BUILD_FLAGS="+bfd"
PKG_CONFIGURE_OPTS_TARGET="BASH_SHELL=/bin/sh \
ac_cv_path_PERL=no \