aboutgitcodebugslistschat
diff options
context:
space:
mode:
authorStefano Brivio <sbrivio@redhat.com>2022-02-26 23:34:40 +0100
committerStefano Brivio <sbrivio@redhat.com>2022-02-26 23:34:40 +0100
commit6dc1ec3c7ac1ee91984ba97f7fabac9eb2411863 (patch)
treece9088f2a519904af861ee68a55e1c5307d0858b
parentbd7340e815814736fd4effdf2fed5452d9e17c23 (diff)
downloadpasst-6dc1ec3c7ac1ee91984ba97f7fabac9eb2411863.tar
passt-6dc1ec3c7ac1ee91984ba97f7fabac9eb2411863.tar.gz
passt-6dc1ec3c7ac1ee91984ba97f7fabac9eb2411863.tar.bz2
passt-6dc1ec3c7ac1ee91984ba97f7fabac9eb2411863.tar.lz
passt-6dc1ec3c7ac1ee91984ba97f7fabac9eb2411863.tar.xz
passt-6dc1ec3c7ac1ee91984ba97f7fabac9eb2411863.tar.zst
passt-6dc1ec3c7ac1ee91984ba97f7fabac9eb2411863.zip
Makefile: Fix up AUDIT_ARCH for armv6l, armv7l
There's a single AUDIT_ARCH_ARM define available (and big-endian shouldn't be a concern with those). Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
-rw-r--r--Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 28ef316..031b684 100644
--- a/Makefile
+++ b/Makefile
@@ -15,6 +15,7 @@ RLIMIT_STACK_VAL := 1024
endif
AUDIT_ARCH := $(shell uname -m | tr [a-z] [A-Z])
+AUDIT_ARCH := $(shell echo $(AUDIT_ARCH) | sed 's/^ARM.*/ARM/')
AUDIT_ARCH := $(shell echo $(AUDIT_ARCH) | sed 's/I[456]86/I386/')
AUDIT_ARCH := $(shell echo $(AUDIT_ARCH) | sed 's/PPC64/PPC/')
AUDIT_ARCH := $(shell echo $(AUDIT_ARCH) | sed 's/PPCLE/PPC64LE/')