From: Dario Faggioli Date: Wed, 16 Feb 2022 19:22:01 +0100 Subject: Makefile: define endianess for cross-building on aarch64 Git-commit: 0000000000000000000000000000000000000000 References: bsc#1193545 Include aarch64 in the endianess check, so we can cross-build from there too. Signed-of-by: Dario Faggioli --- Makefile.main | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roms/skiboot/Makefile.main b/roms/skiboot/Makefile.main index c8a63e8b110f3c6bf115314da7bf..98790ec5c3b0f35272f032798353 100644 --- a/roms/skiboot/Makefile.main +++ b/roms/skiboot/Makefile.main @@ -50,7 +50,7 @@ endif # Host tools and options HOSTCC=gcc -HOSTEND=$(shell uname -m | sed -e 's/^i.*86$$/LITTLE/' -e 's/^x86.*/LITTLE/' -e 's/^ppc64le/LITTLE/' -e 's/^ppc.*/BIG/') +HOSTEND=$(shell uname -m | sed -e 's/^i.*86$$/LITTLE/' -e 's/^x86.*/LITTLE/' -e 's/^ppc64le/LITTLE/' -e 's/^aarch64/LITTLE/' -e 's/^ppc.*/BIG/') HOSTCFLAGS:=-O1 $(CWARNS) -DHAVE_$(HOSTEND)_ENDIAN -MMD HOSTCFLAGS += $(call try-cflag,$(HOSTCC),-std=gnu11) HOSTCFLAGS += $(call try-cflag,$(HOSTCC),-m64)