mirror of
git://git.yoctoproject.org/poky.git
synced 2025-07-19 21:09:03 +02:00
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:
parent
87917eb8fa
commit
a42a0cdb52
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue
Block a user