Revert "Switch to llvm-ar (with crsD flags only)."
This reverts commit 13bc31d6e1
.
Bug: 71694982
Reason for revert: Broke Mac build
Change-Id: I0da6866442ca9273dd329f0b82932f939b7f65ed
This commit is contained in:
@@ -508,8 +508,8 @@ func TransformObjToStaticLib(ctx android.ModuleContext, objFiles android.Paths,
|
||||
return
|
||||
}
|
||||
|
||||
arCmd := "${config.ClangBin}/llvm-ar"
|
||||
arFlags := "crsD"
|
||||
arCmd := gccCmd(flags.toolchain, "ar")
|
||||
arFlags := "crsPD"
|
||||
if flags.arFlags != "" {
|
||||
arFlags += " " + flags.arFlags
|
||||
}
|
||||
|
Reference in New Issue
Block a user