summaryrefslogtreecommitdiffstats
path: root/scripts/lib/devtool/export.py
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2023-06-10 08:50:21 -0700
committerSteve Sakoman <steve@sakoman.com>2023-07-04 05:32:29 -1000
commite5f891e4e6250e6c9eccb6d5695b133024693e40 (patch)
tree8ef16e5199f9d0b767c5189dd8ff09de3cf7bb54 /scripts/lib/devtool/export.py
parent810b3457f3dd492baa86d4f635858e0165826023 (diff)
downloadpoky-e5f891e4e6250e6c9eccb6d5695b133024693e40.tar.gz
glibc: Pass linker choice via compiler flags
glibc configury tries to detect ld version and assumes BFD or gold linker but when system ld is pointing to lld or mold it might fail the linker check, therefore pass LD variable to explicitly point at ld.bfd we are using BFD linker only to link glibc after all. Second problem in such a case is that some partial objects are linked with CC -r which will fail if we do not inform the compiler to use BFD linker thusly pass it via appending to CC variable (From OE-Core rev: d1a9d11130b2e0ee4fac8665f0b4c63084d85a86) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> (cherry picked from commit 63248d2cbd7a15aec5b864d0058fe919eb17c46c) Signed-off-by: Steve Sakoman <steve@sakoman.com>
Diffstat (limited to 'scripts/lib/devtool/export.py')
0 files changed, 0 insertions, 0 deletions