Merge "Use LLD for partialLd." am: 2e16e2d9e1 am: d0ae5425be

am: 030e5780ce

Change-Id: I3e2a025c74ea5646bb4db481373f023a547d473a
This commit is contained in:
Peter Collingbourne
2019-07-16 18:37:26 -07:00
committed by android-build-merger

View File

@@ -78,7 +78,7 @@ var (
blueprint.RuleParams{
// Without -no-pie, clang 7.0 adds -pie to link Android files,
// but -r and -pie cannot be used together.
Command: "$ldCmd -nostdlib -no-pie -Wl,-r ${in} -o ${out} ${ldFlags}",
Command: "$ldCmd -fuse-ld=lld -nostdlib -no-pie -Wl,-r ${in} -o ${out} ${ldFlags}",
CommandDeps: []string{"$ldCmd"},
},
"ldCmd", "ldFlags")