aboutgitcodebugslistschat
path: root/Makefile
diff options
context:
space:
mode:
authorStefano Brivio <sbrivio@redhat.com>2022-11-13 01:51:38 +0100
committerStefano Brivio <sbrivio@redhat.com>2022-11-16 15:10:46 +0100
commit85d8ba3f24982f4a010f8da3f281246d087c156e (patch)
tree650b7895eb8c89ab68a7400729cdf9b092fccd1f /Makefile
parentfb8376f4b5c5abbf6819718ed33ac306430eb467 (diff)
downloadpasst-85d8ba3f24982f4a010f8da3f281246d087c156e.tar
passt-85d8ba3f24982f4a010f8da3f281246d087c156e.tar.gz
passt-85d8ba3f24982f4a010f8da3f281246d087c156e.tar.bz2
passt-85d8ba3f24982f4a010f8da3f281246d087c156e.tar.lz
passt-85d8ba3f24982f4a010f8da3f281246d087c156e.tar.xz
passt-85d8ba3f24982f4a010f8da3f281246d087c156e.tar.zst
passt-85d8ba3f24982f4a010f8da3f281246d087c156e.zip
Makefile: Change HPPA into PARISC while building PASST_AUDIT_ARCH
The AUDIT_ARCH defines in seccomp.h corresponding to HPPA are AUDIT_ARCH_PARISC and AUDIT_ARCH_PARISC64. Build error spotted in Debian's buildd log on phantom.physik.fu-berlin.de. Signed-off-by: Stefano Brivio <sbrivio@redhat.com> Reviewed-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 95b49ac..1dc2df5 100644
--- a/Makefile
+++ b/Makefile
@@ -26,6 +26,7 @@ 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/')
AUDIT_ARCH := $(shell echo $(AUDIT_ARCH) | sed 's/MIPS64EL/MIPSEL64/')
+AUDIT_ARCH := $(shell echo $(AUDIT_ARCH) | sed 's/HPPA/PARISC/')
FLAGS := -Wall -Wextra -pedantic -std=c99 -D_XOPEN_SOURCE=700 -D_GNU_SOURCE
FLAGS += -D_FORTIFY_SOURCE=2 -O2 -pie -fPIE