diff options
author | Khem Raj <raj.khem@gmail.com> | 2022-03-04 10:12:04 -0800 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2022-03-04 13:08:54 -0800 |
commit | 5e7b2b418e98c2e5b336fa38e06e85fea8fba14f (patch) | |
tree | d96928e22af69298b58aaafc2207b00abd0a6969 | |
parent | c9d5fa235308919a372eecb8d1dbcc58a7ba3cb3 (diff) | |
download | meta-clang-5e7b2b418e98c2e5b336fa38e06e85fea8fba14f.tar.gz |
libbsd: Use GNU objdump on mips
This is to workaround issue [1] seen with LLVM mips
[1] https://github.com/llvm/llvm-project/issues/54213
Signed-off-by: Khem Raj <raj.khem@gmail.com>
-rw-r--r-- | conf/nonclangable.conf | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/conf/nonclangable.conf b/conf/nonclangable.conf index c824f74..fd0ef47 100644 --- a/conf/nonclangable.conf +++ b/conf/nonclangable.conf | |||
@@ -427,6 +427,9 @@ STRIP:pn-kexec-tools-klibc:mips:toolchain-clang = "${HOST_PREFIX}strip" | |||
427 | STRIP:pn-go-helloworld:mips:toolchain-clang = "${HOST_PREFIX}strip" | 427 | STRIP:pn-go-helloworld:mips:toolchain-clang = "${HOST_PREFIX}strip" |
428 | OBJCOPY:pn-go-helloworld:mips:toolchain-clang = "${HOST_PREFIX}objcopy" | 428 | OBJCOPY:pn-go-helloworld:mips:toolchain-clang = "${HOST_PREFIX}objcopy" |
429 | 429 | ||
430 | # see https://github.com/llvm/llvm-project/issues/54213 | ||
431 | OBJDUMP:pn-libbsd:mips:toolchain-clang = "${HOST_PREFIX}objdump" | ||
432 | |||
430 | # Need OBJDUMP during do_package_qa which is set to llvm-objdump with meta-clang | 433 | # Need OBJDUMP during do_package_qa which is set to llvm-objdump with meta-clang |
431 | # it might work with GNU objdump since it falls back to one from build host | 434 | # it might work with GNU objdump since it falls back to one from build host |
432 | DEPENDS:pn-linux-firmware:append:toolchain-clang = " clang-native" | 435 | DEPENDS:pn-linux-firmware:append:toolchain-clang = " clang-native" |