[patch] build the libstdc++ debug library with -Og
Matthias Klose
doko@ubuntu.com
Tue Jun 4 14:11:00 GMT 2013
Now that we have -Og, should the libstdc++ debug library be built with -Og
instead of -O0?
Matthias
Index: configure.ac
===================================================================
--- configure.ac (revision 199644)
+++ configure.ac (working copy)
@@ -160,7 +160,7 @@
GLIBCXX_ENABLE_WCHAR_T([yes])
GLIBCXX_ENABLE_C99([yes])
GLIBCXX_ENABLE_CONCEPT_CHECKS([no])
-GLIBCXX_ENABLE_DEBUG_FLAGS(["-gdwarf-4 -g3 -O0"])
+GLIBCXX_ENABLE_DEBUG_FLAGS(["-gdwarf-4 -g3 -Og"])
GLIBCXX_ENABLE_DEBUG([no])
GLIBCXX_ENABLE_PARALLEL([yes])
GLIBCXX_ENABLE_CXX_FLAGS
More information about the Libstdc++
mailing list