glibc: Use :append to add to CC

Due to the recent changes to how the toolchain variables are initialized
via inherit_defer, it is no longer possible to add to CC using the +=
operator. Instead, CC:append needs to be used.

(From OE-Core rev: 13c13440ea64a6f5f7ee3727157758817c96c73a)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Peter Kjellerstedt 2025-06-24 23:50:53 +02:00 committed by Richard Purdie
parent 87917eb8fa
commit a42a0cdb52

View File

@ -111,7 +111,7 @@ do_configure () {
} }
LDFLAGS += "-fuse-ld=bfd" LDFLAGS += "-fuse-ld=bfd"
CC += "-fuse-ld=bfd" CC:append = " -fuse-ld=bfd"
do_compile () { do_compile () {
base_do_compile base_do_compile