mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-06-04 14:39:54 +00:00
iotop: Use lld with clang on arm
BFD linker is crashing when using clang, workaround it by always using lld when using clang on arm Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
@@ -12,6 +12,10 @@ inherit pkgconfig
|
|||||||
|
|
||||||
EXTRA_OEMAKE = "V=1 STRIP=true"
|
EXTRA_OEMAKE = "V=1 STRIP=true"
|
||||||
|
|
||||||
|
# Workaround BFD linker crash with clang on arm
|
||||||
|
# revisit when upgrading binutils and see if its fixed
|
||||||
|
LDFLAGS:append:toolchain-clang:arm = " -fuse-ld=lld"
|
||||||
|
|
||||||
do_install() {
|
do_install() {
|
||||||
oe_runmake install DESTDIR=${D}
|
oe_runmake install DESTDIR=${D}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user