rtld-elf: fix build with xtoolchain-llvm90

strstr ends up using bcmp when compiled with llvm90; pull it in from libc
as well.

MFC after:	3 days
This commit is contained in:
Kyle Evans 2019-08-15 17:35:24 +00:00
parent 1596e9a43c
commit 12ba1c232d
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=351093

View File

@ -40,7 +40,7 @@ CFLAGS.errlst.c+=-I${LIBC_SRCTOP}/include
# Use the string and memory .o files from libc instead of rebuilding them (they
# might be using optimized assembly and duplicating that logic here is awkward).
_libc_string_objects= bcopy memchr memcmp memcpy memmove stpncpy strcat \
_libc_string_objects= bcmp bcopy memchr memcmp memcpy memmove stpncpy strcat \
strchr strcmp stpcpy strcpy strcspn strdup strlcat strlcpy strlen strncmp \
strncpy strrchr strsep strspn strstr strtok
# Also use all the syscall .o files from libc_nossp_pic: