Diff xdp-tools-1.3.1-r3 with a xdp-tools-1.4.0
/usr/portage/net-libs/xdp-tools/xdp-tools-1.4.0.ebuild 2023-10-09 14:52:34.604368479 +0300 | ||
---|---|---|
11 | 11 | |
12 | 12 |
LICENSE="GPL-2 LGPL-2.1 BSD-2" |
13 | 13 |
SLOT="0" |
14 |
KEYWORDS="~amd64 ~arm ~arm64 ~x86" |
|
14 |
KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86" |
|
15 | 15 |
IUSE="+tools" |
16 | 16 | |
17 | 17 |
DEPEND=" |
... | ... | |
33 | 33 |
MAKEOPTS+=" V=1" |
34 | 34 | |
35 | 35 |
PATCHES=( |
36 |
"${FILESDIR}"/1.3.1-disable-stack-protector.patch |
|
37 |
"${FILESDIR}"/1.3.1-fix-btf__type_cnt-detection.patch |
|
38 | 36 |
"${FILESDIR}"/1.3.1-no-Werror.patch |
39 |
"${FILESDIR}"/1.3.1-xdpdump-clang.patch |
|
40 |
"${FILESDIR}"/1.3.1-musl.patch |
|
37 |
"${FILESDIR}"/${PV}-toolchain.patch |
|
41 | 38 |
) |
42 | 39 | |
43 | 40 |
src_configure() { |
41 |
export CC="$(tc-getCC)" |
|
42 |
export LD="$(tc-getLD)" |
|
44 | 43 |
export PREFIX="${EPREFIX}/usr" |
45 | 44 |
export LIBDIR="${PREFIX}/$(get_libdir)" |
46 | 45 |
export BPF_OBJECT_DIR="${PREFIX}/lib/bpf" |