From 2e70f79273797696bff07e14fc2a39830fe7c8f7 Mon Sep 17 00:00:00 2001 From: Elliott Hughes Date: Mon, 19 Apr 2021 12:58:43 -0700 Subject: [PATCH] Move builder.go over to llvm-objcopy. Bug: http://b/147452927 Test: treehugger Change-Id: I60440e44669d226ca2ef2bcd8d0dbba59f01d43f --- cc/builder.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cc/builder.go b/cc/builder.go index da8501c0b..ad7e1e6ac 100644 --- a/cc/builder.go +++ b/cc/builder.go @@ -968,7 +968,7 @@ func transformObjsToObj(ctx android.ModuleContext, objFiles android.Paths, func transformBinaryPrefixSymbols(ctx android.ModuleContext, prefix string, inputFile android.Path, flags builderFlags, outputFile android.WritablePath) { - objcopyCmd := gccCmd(flags.toolchain, "objcopy") + objcopyCmd := "${config.ClangBin}/llvm-objcopy" ctx.Build(pctx, android.BuildParams{ Rule: prefixSymbols,