commit | 266a66e20cf061aef70b879b710587cfa9aed49a | [log] [tgz] |
---|---|---|
author | Treehugger Robot <treehugger-gerrit@google.com> | Mon May 04 09:02:06 2020 +0000 |
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | Mon May 04 09:02:06 2020 +0000 |
tree | fbcb0d05b0b8e1b141a32b320361755ee42d07d8 | |
parent | 2aa8e0be114618a00c195bdc47c6d1fbcd406b28 [diff] | |
parent | b5b2aba43b5bb6305ea69d60f9bf580f711d7c96 [diff] |
Merge "Don't tell make about modules in other namespaces"
diff --git a/cc/sanitize.go b/cc/sanitize.go index d32efda..3412c9b 100644 --- a/cc/sanitize.go +++ b/cc/sanitize.go
@@ -1041,7 +1041,7 @@ } // Export the static lib name to make - if c.static() { + if c.static() && c.ExportedToMake() { if t == cfi { appendStringSync(c.Name(), cfiStaticLibs(mctx.Config()), &cfiStaticLibsMutex) } else if t == hwasan {