Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[cmake] gcc.cmake: Enable C++ assertions and debug mode, when buildin…
…g for Debug. Assertions are enabled for libstdc++ (gcc) and libc++ (llvm/clang). Debug mode is enabled for libstdc++ only. libc++'s hardened mode is also enabled. libstdc++'s debug mode has already helped find a few bugs: - GLenumStrings.cpp: sRGB PVRTC v1 was in the wrong place. - AmiiboData.cpp: Searching for character variants was incorrect. Not enabled for Release builds, since the assertions cause the program to crash with SIGABRT.
- Loading branch information