Improve commenting of cc/binary.go.

Test: N/A
Change-Id: If4a1be0a0f111cd08fc1e8762702c32115562cf1
This commit is contained in:
Chris Parsons
2020-11-20 17:27:25 -05:00
parent f77bd8d60d
commit e0f2ab3f3c
2 changed files with 46 additions and 2 deletions

View File

@@ -211,6 +211,7 @@ func (linker *baseLinker) appendLdflags(flags []string) {
linker.Properties.Ldflags = append(linker.Properties.Ldflags, flags...)
}
// linkerInit initializes dynamic properties of the linker (such as runpath).
func (linker *baseLinker) linkerInit(ctx BaseModuleContext) {
if ctx.toolchain().Is64Bit() {
linker.dynamicProperties.RunPaths = append(linker.dynamicProperties.RunPaths, "../lib64", "lib64")