mirror of
https://github.com/veracrypt/VeraCrypt.git
synced 2025-11-11 19:08:26 -06:00
MacOSX: use Yasm to build Twofish 64-bit assembly code on OSX since native compiler doesn't support GAS syntax
This commit is contained in:
@@ -39,6 +39,7 @@ export AR ?= ar
|
||||
export CC ?= gcc
|
||||
export CXX ?= g++
|
||||
export AS := nasm
|
||||
export YASM := yasm
|
||||
export RANLIB ?= ranlib
|
||||
|
||||
export CFLAGS := -Wall
|
||||
@@ -251,6 +252,7 @@ ifeq "$(shell uname -s)" "Darwin"
|
||||
endif
|
||||
|
||||
AS := $(BASE_DIR)/Build/Tools/MacOSX/nasm
|
||||
YASM := $(BASE_DIR)/Build/Tools/MacOSX/yasm
|
||||
ASFLAGS += --prefix _
|
||||
|
||||
ifeq "$(TC_BUILD_CONFIG)" "Release"
|
||||
|
||||
Reference in New Issue
Block a user