From 09fdda5b3b0afab218e9af74a749b4641ae55daf Mon Sep 17 00:00:00 2001 From: Zijun Date: Tue, 30 Jul 2024 21:31:13 +0000 Subject: [PATCH] Turn on relaxed-template-template-args as a workaround Update compiler to r536225 and the error: argument '-fno-relaxed-template-template-args' is deprecated arises. Bug: b/341084395 Test: presubmit Change-Id: If714f96e4537b5f8d695cd7c0d1cd0a8ddcbb96e --- cc/config/global.go | 5 ----- 1 file changed, 5 deletions(-) diff --git a/cc/config/global.go b/cc/config/global.go index bf2502fcf..66196c26b 100644 --- a/cc/config/global.go +++ b/cc/config/global.go @@ -136,11 +136,6 @@ 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",