diff --git a/cc/config/global.go b/cc/config/global.go index 16b5e0938..290a27dfb 100644 --- a/cc/config/global.go +++ b/cc/config/global.go @@ -136,6 +136,11 @@ var ( // displaying logs in web browsers. "-fmessage-length=0", + // Disable C++17 "relaxed template template argument matching" as a workaround for + // our out-dated libcxx. + // http://b/341084395 + "-fno-relaxed-template-template-args", + // Using simple template names reduces the size of debug builds. "-gsimple-template-names",