Follow-on to r291666: use -ffreestanding instead of -fno-builtin.

Requested by:	kib
This commit is contained in:
Nathan Whitehorn 2015-12-03 21:25:59 +00:00
parent fea60e240e
commit 4cce0e9868
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=291723

View File

@ -13,7 +13,7 @@ SRCS= rtld_start.S \
malloc.c xmalloc.c debug.c libmap.c
MAN= rtld.1
CSTD?= gnu99
CFLAGS+= -Wall -DFREEBSD_ELF -DIN_RTLD -fno-builtin
CFLAGS+= -Wall -DFREEBSD_ELF -DIN_RTLD -ffreestanding
CFLAGS+= -I${SRCTOP}/lib/csu/common
.if exists(${.CURDIR}/${MACHINE_ARCH})
RTLD_ARCH= ${MACHINE_ARCH}