diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2025-06-24 23:50:53 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2025-07-14 17:49:48 +0100 |
commit | 9bca79fdb4dccc8318f579be2f957a6a0820406d (patch) | |
tree | ab1c3017b5b6a0149870d3f22a26ac56c18fc9d3 /meta/recipes-core | |
parent | 69a0dcc37ba145e63fc2d971fa543d761028d437 (diff) | |
download | poky-9bca79fdb4dccc8318f579be2f957a6a0820406d.tar.gz |
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>
Diffstat (limited to 'meta/recipes-core')
-rw-r--r-- | meta/recipes-core/glibc/glibc_2.41.bb | 2 |
1 files changed, 1 insertions, 1 deletions
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 () { | |||
111 | } | 111 | } |
112 | 112 | ||
113 | LDFLAGS += "-fuse-ld=bfd" | 113 | LDFLAGS += "-fuse-ld=bfd" |
114 | CC += "-fuse-ld=bfd" | 114 | CFLAGS += "-fuse-ld=bfd" |
115 | 115 | ||
116 | do_compile () { | 116 | do_compile () { |
117 | base_do_compile | 117 | base_do_compile |