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