Skip to content
Snippets Groups Projects
Commit aac3c16b authored by Marcel Loose's avatar Marcel Loose :sunglasses:
Browse files

Task #11558: Removed '-D_GLIBCXX_USE_CXX11_ABI=0' from GNU.cmake.

Since it sets -std=c++98, it won't use the new C++11 ABI anyway. 
More important though, it breaks compilation with GCC-5, because several
header files simply check if _GLIBCXX_USE_CXX11_ABI is defined or not.
parent d7c01e03
No related branches found
No related tags found
No related merge requests found
...@@ -21,11 +21,11 @@ set(GNU_C_FLAGS_DEBUG "-g") ...@@ -21,11 +21,11 @@ set(GNU_C_FLAGS_DEBUG "-g")
set(GNU_C_FLAGS_OPT "-g -O2") set(GNU_C_FLAGS_OPT "-g -O2")
set(GNU_C_FLAGS_OPT3 "-g -O3") set(GNU_C_FLAGS_OPT3 "-g -O3")
set(GNU_C_FLAGS_OPTARCH "-g -O3 -march=native") set(GNU_C_FLAGS_OPTARCH "-g -O3 -march=native")
set(GNU_CXX_FLAGS "-std=c++98 -D_GLIBCXX_USE_CXX11_ABI=0 -W -Wall -Woverloaded-virtual -Wno-unknown-pragmas") set(GNU_CXX_FLAGS "-std=c++98 -W -Wall -Woverloaded-virtual -Wno-unknown-pragmas")
set(GNU_CXX_FLAGS_DEBUG "-std=c++98 -D_GLIBCXX_USE_CXX11_ABI=0 -g") set(GNU_CXX_FLAGS_DEBUG "-std=c++98 -g")
set(GNU_CXX_FLAGS_OPT "-std=c++98 -D_GLIBCXX_USE_CXX11_ABI=0 -g -O2") set(GNU_CXX_FLAGS_OPT "-std=c++98 -g -O2")
set(GNU_CXX_FLAGS_OPT3 "-std=c++98 -D_GLIBCXX_USE_CXX11_ABI=0 -g -O3") set(GNU_CXX_FLAGS_OPT3 "-std=c++98 -g -O3")
set(GNU_CXX_FLAGS_OPTARCH "-std=c++98 -D_GLIBCXX_USE_CXX11_ABI=0 -g -O3 -march=native") set(GNU_CXX_FLAGS_OPTARCH "-std=c++98 -g -O3 -march=native")
set(GNU_EXE_LINKER_FLAGS) set(GNU_EXE_LINKER_FLAGS)
set(GNU_EXE_LINKER_FLAGS_DEBUG) set(GNU_EXE_LINKER_FLAGS_DEBUG)
set(GNU_EXE_LINKER_FLAGS_OPT) set(GNU_EXE_LINKER_FLAGS_OPT)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment