Skip to content
This repository was archived by the owner on Sep 18, 2020. It is now read-only.

Commit 6a3bac2

Browse files
committed
sys-process/audit: Fix arm64 runtime errors
The --with-arm and --with-aarch64 configure script options need to be set when building for the arm64-usr target. Fixes runtime errors like these when adding machine/arch specific rules: # auditctl -a exit,always -S fchmod Error detecting machine type # auditctl -a exit,always -F arch=aarch64 -S fchmod arch elf mapping not found Signed-off-by: Geoff Levand <geoff@infradead.org>
1 parent 4c58856 commit 6a3bac2

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

sys-process/audit/audit-2.7.1.ebuild

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,14 @@ src_prepare() {
8686

8787
multilib_src_configure() {
8888
local ECONF_SOURCE=${S}
89+
local extra_conf
90+
91+
if [[ "${ARCH}" == "arm64" ]]; then
92+
extra_conf="--with-arm --with-aarch64"
93+
fi
94+
8995
econf \
96+
${extra_conf} \
9097
--sbindir="${EPREFIX}/sbin" \
9198
$(use_enable gssapi gssapi-krb5) \
9299
$(use_enable static-libs static) \

0 commit comments

Comments
 (0)