This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
[patch] build the libstdc++ debug library with -Og
- From: Matthias Klose <doko at ubuntu dot com>
- To: "libstdc++ at gcc dot gnu dot org" <libstdc++ at gcc dot gnu dot org>
- Date: Tue, 04 Jun 2013 16:10:55 +0200
- Subject: [patch] build the libstdc++ debug library with -Og
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