xref: /freebsd/lib/libc/i386/Makefile.inc (revision f0cfa1b168014f56c02b83e5f28412cc5f78d117)
1# $FreeBSD$
2
3# Long double is 80 bits
4GDTOASRCS+=strtorx.c
5SRCS+=machdep_ldisx.c
6SYM_MAPS+=${LIBC_SRCTOP}/i386/Symbol.map
7
8# XXX force use of ld.bfd for linking i386 libc
9#
10# lld can successfully link most of a working i386 userland and kernel,
11# but produces a broken libc. For now if we're otherwise using lld, and
12# ld.bfd is available, explicitly use it for libc.
13.include <bsd.linker.mk>
14.if ${LINKER_TYPE} == "lld" && ${MK_BINUTILS_BOOTSTRAP} != "no"
15LDFLAGS+=-fuse-ld=bfd
16.endif
17