Merge "[NFCI] Change llvm-ar '-format' to be '--format'."

This commit is contained in:
Treehugger Robot 2022-01-26 00:53:36 +00:00 committed by Gerrit Code Review
commit f73658bdc6

View file

@ -744,7 +744,7 @@ func transformObjToStaticLib(ctx android.ModuleContext,
arCmd := "${config.ClangBin}/llvm-ar"
arFlags := ""
if !ctx.Darwin() {
arFlags += " -format=gnu"
arFlags += " --format=gnu"
}
if len(wholeStaticLibs) == 0 {