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:
parent
badc719572
commit
1ab10a7310
1 changed files with 1 additions and 1 deletions
|
@ -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{} {
|
||||
|
|
Loading…
Reference in a new issue