VeraCrypt
aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMounir IDRASSI <mounir.idrassi@idrix.fr>2016-11-05 22:39:46 (GMT)
committerMounir IDRASSI <mounir.idrassi@idrix.fr>2016-11-05 22:45:21 (GMT)
commit181857089b11045c701e9195275a408430beb580 (patch)
tree12399a6c96c7078a39bc98f47bf903787a9efc61
parent0485b7174612a67f2d878f57e0ddaf7c9d30861c (diff)
downloadVeraCrypt-181857089b11045c701e9195275a408430beb580.zip
VeraCrypt-181857089b11045c701e9195275a408430beb580.tar.gz
Linux: Always use "uname -m" to determine processor type. This fixes Slackware build issue.
-rw-r--r--src/Makefile5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/Makefile b/src/Makefile
index 7bfc5ad..00e6e5b 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -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