aboutgitcodebugslistschat
path: root/Makefile
diff options
context:
space:
mode:
authorStefano Brivio <sbrivio@redhat.com>2023-02-28 00:54:56 +0100
committerStefano Brivio <sbrivio@redhat.com>2023-03-09 00:36:06 +0100
commitf6b6b66a881fad1d4fcf4ee7f1b606f4bd1bb1b3 (patch)
tree81d7848d5e9c575d0461828da2dc46adeeffc9d3 /Makefile
parent0d8c114aa25cb093607feea5d98ce81d7389aa73 (diff)
downloadpasst-f6b6b66a881fad1d4fcf4ee7f1b606f4bd1bb1b3.tar
passt-f6b6b66a881fad1d4fcf4ee7f1b606f4bd1bb1b3.tar.gz
passt-f6b6b66a881fad1d4fcf4ee7f1b606f4bd1bb1b3.tar.bz2
passt-f6b6b66a881fad1d4fcf4ee7f1b606f4bd1bb1b3.tar.lz
passt-f6b6b66a881fad1d4fcf4ee7f1b606f4bd1bb1b3.tar.xz
passt-f6b6b66a881fad1d4fcf4ee7f1b606f4bd1bb1b3.tar.zst
passt-f6b6b66a881fad1d4fcf4ee7f1b606f4bd1bb1b3.zip
Makefile: Fix SuperH 4 builds: it's AUDIT_ARCH_SH, not AUDIT_ARCH_SH4
sh4 builds currently fail because of this: https://buildd.debian.org/status/fetch.php?pkg=passt&arch=sh4&ver=0.0%7Egit20230216.4663ccc-1&stamp=1677091350&raw=0 Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index e5723a7..6f8bd81 100644
--- a/Makefile
+++ b/Makefile
@@ -31,6 +31,7 @@ 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/')
+AUDIT_ARCH := $(shell echo $(AUDIT_ARCH) | sed 's/SH4/SH/')
FLAGS := -Wall -Wextra -pedantic -std=c99 -D_XOPEN_SOURCE=700 -D_GNU_SOURCE
FLAGS += -D_FORTIFY_SOURCE=2 -O2 -pie -fPIE