| Index: build/config/BUILD.gn
|
| diff --git a/build/config/BUILD.gn b/build/config/BUILD.gn
|
| index 37572d9377178c7070b8837c1d3ade1bdc136846..fe60b9641aca26f17005012cfe344b2e0d1c8d10 100644
|
| --- a/build/config/BUILD.gn
|
| +++ b/build/config/BUILD.gn
|
| @@ -43,6 +43,13 @@ config("debug") {
|
| "DYNAMIC_ANNOTATIONS_ENABLED=1",
|
| "WTF_USE_DYNAMIC_ANNOTATIONS=1",
|
| ]
|
| +
|
| + if (is_linux && !is_android && cpu_arch == "x64") {
|
| + # Enable libstdc++ debugging facilities to help catch problems early, see
|
| + # http://crbug.com/65151 .
|
| + # TODO(phajdan.jr): Should we enable this for all of POSIX?
|
| + defines += [ "_GLIBCXX_DEBUG=1" ]
|
| + }
|
| }
|
|
|
| config("release") {
|
|
|