commit | 20f5d137ed1ce3e1eac658aedb51a039384c9b30 | [log] [tgz] |
---|---|---|
author | Jayant Chowdhary <jchowdhary@google.com> | Fri Oct 27 11:29:37 2017 -0700 |
committer | Jayant Chowdhary <jchowdhary@google.com> | Fri Oct 27 11:29:52 2017 -0700 |
tree | 75f6a1562c5e5895b0523e1d65df9295a6362164 | |
parent | 254aaec32870c16d97a7c8b1320c250f71c5d3f7 [diff] [blame] |
Make clang libTooling tools ignore all lto flags. LLVM r275480 does not recognize flto flags, suppress the option in clang libTooling tools for now. Bug: 62839002 Test: mma Change-Id: Ia9d80b46320e551a93dbff780405d8ff8ad73f35
diff --git a/cc/config/clang.go b/cc/config/clang.go index 977afe1..64bb96e 100644 --- a/cc/config/clang.go +++ b/cc/config/clang.go
@@ -66,7 +66,7 @@ }) var ClangLibToolingUnknownCflags = []string{ - "-flto", + "-flto*", "-fsanitize*", }