diff --git a/cc/makevars.go b/cc/makevars.go index 48d563606..923472a13 100644 --- a/cc/makevars.go +++ b/cc/makevars.go @@ -280,9 +280,9 @@ func makeVarsToolchain(ctx android.MakeVarsContext, secondPrefix string, ctx.Strict(makePrefix+"STRIP", "${config.MacStripPath}") } else { ctx.Strict(makePrefix+"AR", "${config.ClangBin}/llvm-ar") - ctx.Strict(makePrefix+"READELF", gccCmd(toolchain, "readelf")) - ctx.Strict(makePrefix+"NM", gccCmd(toolchain, "nm")) - ctx.Strict(makePrefix+"STRIP", gccCmd(toolchain, "strip")) + ctx.Strict(makePrefix+"READELF", "${config.ClangBin}/llvm-readelf") + ctx.Strict(makePrefix+"NM", "${config.ClangBin}/llvm-nm") + ctx.Strict(makePrefix+"STRIP", "${config.ClangBin}/llvm-strip") } if target.Os.Class == android.Device {