VeraCrypt
aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/Makefile b/src/Makefile
index ce6c396f..23d0c516 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -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