mirror of
https://github.com/veracrypt/VeraCrypt
synced 2024-11-10 05:03:33 +01:00
MacOS: Fix Blake2s SSE 4.1 not being built
For now, we set GCC_GTEQ_430 to 1 to each OS. Later we will always suppose that gcc is newer than 4.3 and remove this logic.
This commit is contained in:
parent
8eb232a4a3
commit
9d36f15bfc
@ -303,6 +303,8 @@ ifeq "$(shell uname -s)" "Darwin"
|
||||
CC := gcc
|
||||
CXX := g++
|
||||
|
||||
GCC_GTEQ_430 := 1
|
||||
|
||||
C_CXX_FLAGS += -DTC_UNIX -DTC_BSD -DTC_MACOSX -mmacosx-version-min=$(VC_OSX_TARGET) -isysroot $(VC_OSX_SDK_PATH)
|
||||
LFLAGS += -mmacosx-version-min=$(VC_OSX_TARGET) -Wl,-syslibroot $(VC_OSX_SDK_PATH)
|
||||
WX_CONFIGURE_FLAGS += --with-macosx-version-min=$(VC_OSX_TARGET) --with-macosx-sdk=$(VC_OSX_SDK_PATH)
|
||||
@ -381,6 +383,8 @@ ifeq "$(shell uname -s)" "FreeBSD"
|
||||
|
||||
CC := cc
|
||||
CXX := c++
|
||||
|
||||
GCC_GTEQ_430 := 1
|
||||
|
||||
ifeq "$(TC_BUILD_CONFIG)" "Release"
|
||||
C_CXX_FLAGS += -fdata-sections -ffunction-sections -fpie
|
||||
@ -441,6 +445,8 @@ ifeq "$(shell uname -s)" "OpenBSD"
|
||||
CC := cc
|
||||
CXX := c++
|
||||
|
||||
GCC_GTEQ_430 := 1
|
||||
|
||||
ifeq "$(TC_BUILD_CONFIG)" "Release"
|
||||
C_CXX_FLAGS += -fdata-sections -ffunction-sections -fpie
|
||||
LFLAGS += -Wl,--gc-sections -pie
|
||||
|
Loading…
Reference in New Issue
Block a user