From: Jonathan Wakely make CXXFLAGS='-g3 -O0 -fno-inline' all
-
--enable-libstdcxx-debug-flags=FLAGS
This option is only valid when --enable-debug
+
--enable-libstdcxx-debug-flags=FLAGS
This option is only valid when
+ --enable-libstdcxx-debug
is also specified, and applies to the debug builds only. With
this option, you can pass a specific string of flags to the
compiler to use when building the debug versions of libstdc++.
diff --git a/libstdc++-v3/doc/xml/manual/configure.xml b/libstdc++-v3/doc/xml/manual/configure.xml
index 58587e858a40..74d6db71ab45 100644
--- a/libstdc++-v3/doc/xml/manual/configure.xml
+++ b/libstdc++-v3/doc/xml/manual/configure.xml
@@ -204,7 +204,8 @@
--enable-libstdcxx-debug-flags=FLAGS
--enable-debug
+ --enable-libstdcxx-debug
is also specified, and applies to the debug builds only. With
this option, you can pass a specific string of flags to the
compiler to use when building the debug versions of libstdc++.