1
0
mirror of https://github.com/veracrypt/VeraCrypt.git synced 2025-11-11 02:58:02 -06:00

Linux: built VeraCrypt binary with support for Address Space Layout Randomization (ASLR).

This commit is contained in:
Mounir IDRASSI
2017-06-13 13:45:12 +02:00
parent ba1fbb688e
commit eb4f5ac4e7

View File

@@ -189,15 +189,15 @@ ifeq "$(shell uname -s)" "Linux"
endif
ifeq "$(TC_BUILD_CONFIG)" "Release"
C_CXX_FLAGS += -fdata-sections -ffunction-sections
LFLAGS += -Wl,--gc-sections
C_CXX_FLAGS += -fdata-sections -ffunction-sections -fpie
LFLAGS += -Wl,--gc-sections -pie
ifneq "$(shell ld --help 2>&1 | grep sysv | wc -l)" "0"
LFLAGS += -Wl,--hash-style=sysv
endif
WXCONFIG_CFLAGS += -fdata-sections -ffunction-sections
WXCONFIG_CXXFLAGS += -fdata-sections -ffunction-sections
WXCONFIG_CFLAGS += -fdata-sections -ffunction-sections -fpie
WXCONFIG_CXXFLAGS += -fdata-sections -ffunction-sections -fpie
endif
ifneq "$(origin WXSTATIC)" "command line"