Skip to content

Commit

Permalink
nmap: Remove LLD build workaround for RISCV-64
Browse files Browse the repository at this point in the history
This is no longer needed with clang-19

Signed-off-by: Khem Raj <[email protected]>
  • Loading branch information
kraj committed Sep 18, 2024
1 parent c0bc7f2 commit 04c9387
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions conf/nonclangable.conf
Original file line number Diff line number Diff line change
Expand Up @@ -494,9 +494,6 @@ OBJDUMP:pn-libbsd:mips:toolchain-clang = "${HOST_PREFIX}objdump"
STRIP:pn-python3-matplotlib:toolchain-clang:riscv64 = "${HOST_PREFIX}llvm-strip"
STRIP:pn-python3-matplotlib:toolchain-clang:riscv32 = "${HOST_PREFIX}llvm-strip"

#riscv64-yoe-linux-strip: TOPDIR/build/tmp/work/riscv64-yoe-linux/nmap/7.80-r0/image/usr/bin/stUPhYkC: not enough room for program headers, try linking with -N
LDFLAGS:append:pn-nmap:riscv64:toolchain-clang = "${@bb.utils.contains('DISTRO_FEATURES', 'ld-is-lld', ' -Wl,-N', '', d)}"

# 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"
Expand Down

0 comments on commit 04c9387

Please sign in to comment.