Skip to content

Commit

Permalink
libbsd: Use GNU objdump on mips
Browse files Browse the repository at this point in the history
This is to workaround issue [1] seen with LLVM mips

[1] llvm/llvm-project#54213

Signed-off-by: Khem Raj <raj.khem@gmail.com>
  • Loading branch information
kraj committed Mar 4, 2022
1 parent c9d5fa2 commit 5e7b2b4
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions conf/nonclangable.conf
Original file line number Diff line number Diff line change
Expand Up @@ -427,6 +427,9 @@ STRIP:pn-kexec-tools-klibc:mips:toolchain-clang = "${HOST_PREFIX}strip"
STRIP:pn-go-helloworld:mips:toolchain-clang = "${HOST_PREFIX}strip"
OBJCOPY:pn-go-helloworld:mips:toolchain-clang = "${HOST_PREFIX}objcopy"

# see https://github.com/llvm/llvm-project/issues/54213
OBJDUMP:pn-libbsd:mips:toolchain-clang = "${HOST_PREFIX}objdump"

# Need OBJDUMP during do_package_qa which is set to llvm-objdump with meta-clang
# it might work with GNU objdump since it falls back to one from build host
DEPENDS:pn-linux-firmware:append:toolchain-clang = " clang-native"

0 comments on commit 5e7b2b4

Please sign in to comment.