glibc: Add flags to CFLAGS instead of CC

Recent changes mean toolchain variables are initialized via inherit_defer.
It is therefore no longer possible to add to CC using the += operator.
Instead, add to CFLAGS.

(From OE-Core rev: 7435a6317621f90b6f842a0a0f97c31f0d6d2424)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Richard Purdie
2025-06-24 23:50:53 +02:00
parent 69a0dcc37b
commit 9bca79fdb4

View File

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