aboutsummaryrefslogtreecommitdiffstats
path: root/cc/cc.go
diff options
context:
space:
mode:
Diffstat (limited to 'cc/cc.go')
-rw-r--r--cc/cc.go4
1 files changed, 3 insertions, 1 deletions
diff --git a/cc/cc.go b/cc/cc.go
index bbdcf6f9..f368a133 100644
--- a/cc/cc.go
+++ b/cc/cc.go
@@ -950,7 +950,9 @@ func (c *Module) depsToPaths(ctx android.ModuleContext) PathDeps {
if tag == reuseObjTag {
if l, ok := cc.compiler.(libraryInterface); ok {
- depPaths.Objs = depPaths.Objs.Append(l.reuseObjs())
+ objs, flags := l.reuseObjs()
+ depPaths.Objs = depPaths.Objs.Append(objs)
+ depPaths.ReexportedFlags = append(depPaths.ReexportedFlags, flags...)
return
}
}