revert r322589: force use of ld.bfd for linking i386 libc

As of r326897 ld.lld can link a working i386 libc.so, so we no longer
need to force use of ld.bfd.

Sponsored by:	The FreeBSD Foundation
This commit is contained in:
emaste 2017-12-16 15:17:54 +00:00
parent 84904a6912
commit b092f3033f

View File

@ -4,13 +4,3 @@
GDTOASRCS+=strtorx.c
SRCS+=machdep_ldisx.c
SYM_MAPS+=${LIBC_SRCTOP}/i386/Symbol.map
# XXX force use of ld.bfd for linking i386 libc
#
# lld can successfully link most of a working i386 userland and kernel,
# but produces a broken libc. For now if we're otherwise using lld, and
# ld.bfd is available, explicitly use it for libc.
.include <bsd.linker.mk>
.if ${LINKER_TYPE} == "lld" && ${MK_BINUTILS_BOOTSTRAP} != "no"
LDFLAGS+=-fuse-ld=bfd
.endif