mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-22 05:23:01 -04:00
dev-util/xdp-tools: Don't call readelf directly
Allow to override it. Closes: https://bugs.gentoo.org/785214 Package-Manager: Portage-3.0.17, Repoman-3.0.2 Signed-off-by: Kurt Kanzenbach <kurt@kmk-computers.de>
This commit is contained in:
@@ -40,7 +40,10 @@ DEPEND="${RDEPEND}
|
||||
sys-devel/llvm:10
|
||||
"
|
||||
|
||||
PATCHES=( "${FILESDIR}/${P}-install.patch" )
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${P}-install.patch"
|
||||
"${FILESDIR}/${P}-readelf.patch"
|
||||
)
|
||||
|
||||
pkg_setup() {
|
||||
llvm_pkg_setup
|
||||
@@ -54,6 +57,7 @@ src_compile() {
|
||||
emake \
|
||||
CC="$(tc-getCC)" \
|
||||
AR="$(tc-getAR)" \
|
||||
READELF=$(tc-getREADELF) \
|
||||
PRODUCTION=1 \
|
||||
DYNAMIC_LIBXDP=1 \
|
||||
FORCE_SYSTEM_LIBBPF=1 \
|
||||
|
||||
Reference in New Issue
Block a user