Turn off relaxed-template-template-args as a workaround
ToT switched on "relaxed-template-template-args" by default. This does not work with our outdated libc++. Turn it off until we have the new libc++. Test: build with Kokoro ToT Clang (build 2417) Bug: 341084395 Bug: 332594828 Change-Id: I994c476c1f7b4abd81e5ae0bde4e1f9afd1aa920
This commit is contained in:
parent
bd6b1fcab4
commit
9b9d29b845
1 changed files with 5 additions and 0 deletions
|
@ -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",
|
||||
|
||||
|
|
Loading…
Reference in a new issue