Merge "Add back the llvm-ar P flag"
This commit is contained in:
@@ -551,7 +551,7 @@ func TransformObjToStaticLib(ctx android.ModuleContext, objFiles android.Paths,
|
|||||||
flags builderFlags, outputFile android.ModuleOutPath, deps android.Paths) {
|
flags builderFlags, outputFile android.ModuleOutPath, deps android.Paths) {
|
||||||
|
|
||||||
arCmd := "${config.ClangBin}/llvm-ar"
|
arCmd := "${config.ClangBin}/llvm-ar"
|
||||||
arFlags := "crsD"
|
arFlags := "crsPD"
|
||||||
if !ctx.Darwin() {
|
if !ctx.Darwin() {
|
||||||
arFlags += " -format=gnu"
|
arFlags += " -format=gnu"
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user