mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2025-10-22 15:03:59 +02:00
klibc: Do not let clang generate wcslen builtin
clang-21 decides to emit wcslen call on arm architecture klibc does not provide widechar support so it should not be used. Fixes | arm-yoe-linux-gnueabi-ld.bfd: usr/kinit/do_mounts_md.o: in function `md_run': | /usr/src/debug/klibc/2.0.14/usr/kinit/do_mounts_md.c:294:(.text+0x5d6): undefined reference to `wcslen' Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
parent
803087e186
commit
af1199a7aa
|
@ -35,7 +35,7 @@ S = "${UNPACKDIR}/klibc-${PV}"
|
|||
|
||||
OPTFLAGS = "${TUNE_CCARGS} -Os -fcommon"
|
||||
OPTFLAGS:append = " ${DEBUG_PREFIX_MAP}"
|
||||
OPTFLAGS:append:toolchain-clang = " -fno-builtin-bcmp"
|
||||
OPTFLAGS:append:toolchain-clang = " -fno-builtin-bcmp -fno-builtin-wcslen"
|
||||
OPTFLAGS:append:toolchain-clang:mipsarch = " -no-integrated-as"
|
||||
|
||||
PARALLEL_MAKE = ""
|
||||
|
|
Loading…
Reference in New Issue
Block a user