mirror of
https://github.com/veracrypt/VeraCrypt
synced 2024-11-10 21:23:40 +01:00
Linux: fix mount failure with "Invalid characters encountered" error when building using gcc-5 by disabling the new C++ ABI. For this to work, wxWidgets static library must be built and used by VeraCrypt by specifying WXSTATIC=1 in make command line.
This commit is contained in:
parent
8bfc7f1caa
commit
fd26f49958
@ -175,6 +175,12 @@ ifeq "$(shell uname -s)" "Linux"
|
||||
|
||||
ifneq "$(origin WXSTATIC)" "command line"
|
||||
LFLAGS += -ldl
|
||||
else
|
||||
GCC5USED := $(shell expr `gcc -dumpversion | cut -f1 -d.` \>= 5)
|
||||
ifeq "$(GCC5USED)" "1"
|
||||
CXXFLAGS += -D_GLIBCXX_USE_CXX11_ABI=0
|
||||
WXCONFIG_CXXFLAGS += -D_GLIBCXX_USE_CXX11_ABI=0
|
||||
endif
|
||||
endif
|
||||
|
||||
endif
|
||||
|
Loading…
Reference in New Issue
Block a user