Don't clear flags in prebuiltLibraryLinker.linkerFlags

linkerFlags takes the current flags struct, it should return it
unmodified if it has nothing to do, not return an empty one.

Bug: 113837811
Test: m SANITIZE_TARGET=address
Change-Id: I35ec260f49c832a5b50ff77395eda618679e6ef9
This commit is contained in:
Colin Cross 2018-09-04 11:02:37 -07:00
parent badc719572
commit 1ab10a7310

View file

@ -62,7 +62,7 @@ func (p *prebuiltLibraryLinker) linkerDeps(ctx DepsContext, deps Deps) Deps {
}
func (p *prebuiltLibraryLinker) linkerFlags(ctx ModuleContext, flags Flags) Flags {
return Flags{}
return flags
}
func (p *prebuiltLibraryLinker) linkerProps() []interface{} {