From 9bca79fdb4dccc8318f579be2f957a6a0820406d Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Tue, 24 Jun 2025 23:50:53 +0200 Subject: 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 --- meta/recipes-core/glibc/glibc_2.41.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'meta/recipes-core') diff --git a/meta/recipes-core/glibc/glibc_2.41.bb b/meta/recipes-core/glibc/glibc_2.41.bb index 7771fac041..0852bb4bdb 100644 --- a/meta/recipes-core/glibc/glibc_2.41.bb +++ b/meta/recipes-core/glibc/glibc_2.41.bb @@ -111,7 +111,7 @@ do_configure () { } LDFLAGS += "-fuse-ld=bfd" -CC += "-fuse-ld=bfd" +CFLAGS += "-fuse-ld=bfd" do_compile () { base_do_compile -- cgit v1.2.3-54-g00ecf