mirror of
https://github.com/veracrypt/VeraCrypt.git
synced 2025-11-11 11:08:02 -06:00
Allow $(ARCH) to be defined during build (#471)
This can be useful when crossbuilding or building in a chroot where using uname -m would cause the wrong compiler options.
This commit is contained in:
@@ -132,7 +132,7 @@ export PLATFORM_UNSUPPORTED := 0
|
||||
export CPU_ARCH ?= unknown
|
||||
export SIMD_SUPPORTED := 0
|
||||
|
||||
ARCH = $(shell uname -m)
|
||||
ARCH ?= $(shell uname -m)
|
||||
|
||||
ifneq (,$(filter i386 i486 i586 i686 x86,$(ARCH)))
|
||||
CPU_ARCH = x86
|
||||
|
||||
Reference in New Issue
Block a user