use uname -m when uname -i fails
fixes arch detection with Linux/x86_64
This commit is contained in:
parent
83966b070f
commit
2d36594fa2
1 changed files with 3 additions and 0 deletions
|
@ -133,6 +133,9 @@ ifeq ($(ARCH),)
|
|||
ARCH := i386
|
||||
else
|
||||
ARCH := $(shell uname -i)
|
||||
ifeq ($(ARCH),unknown)
|
||||
ARCH := $(shell uname -m)
|
||||
endif
|
||||
endif
|
||||
endif
|
||||
|
||||
|
|
Loading…
Reference in a new issue