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:
parent
0e68341874
commit
2f36fbb56f
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user