Fix if uname reports amd64 instead of x86_64

This commit is contained in:
bzt 2023-05-28 15:35:35 +02:00
parent 533591712d
commit bb917c6386

View file

@ -1,5 +1,5 @@
# detect architecture
MYARCH = $(shell uname -m | sed s,i[3456789]86,ia32,)
MYARCH = $(shell uname -m | sed s,i[3456789]86,ia32, | sed s,amd,x86_,)
ifeq ($(ARCH),)
ARCH = $(MYARCH)
endif