mirror of
https://git.yoctoproject.org/poky
synced 2026-04-19 06:32:13 +02:00
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:
@@ -111,7 +111,7 @@ do_configure () {
|
||||
}
|
||||
|
||||
LDFLAGS += "-fuse-ld=bfd"
|
||||
CC += "-fuse-ld=bfd"
|
||||
CFLAGS += "-fuse-ld=bfd"
|
||||
|
||||
do_compile () {
|
||||
base_do_compile
|
||||
|
||||
Reference in New Issue
Block a user