Linux: Always use "uname -m" to determine processor type. This fixes Slackware build issue.

This commit is contained in:
Mounir IDRASSI 2016-11-05 23:39:46 +01:00
parent 0485b71746
commit 181857089b
No known key found for this signature in database
GPG Key ID: DD0C382D5FCFB8FC
1 changed files with 1 additions and 4 deletions

View File

@ -131,10 +131,7 @@ export PLATFORM_UNSUPPORTED := 0
export CPU_ARCH ?= unknown
export SIMD_SUPPORTED := 0
ARCH = $(shell uname -p)
ifeq "$(ARCH)" "unknown"
ARCH = $(shell uname -m)
endif
ARCH = $(shell uname -m)
ifneq (,$(filter i386 i486 i586 i686 x86,$(ARCH)))
CPU_ARCH = x86