Merge "[NFCI] Change llvm-ar '-format' to be '--format'." am: f73658bdc6 am: 02dc83d69f

Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1959508

Change-Id: I1121bc682eaf6c5815b88ffd1cfea3f8a5e1bb14
This commit is contained in:
Treehugger Robot
2022-01-26 01:27:40 +00:00
committed by Automerger Merge Worker

View File

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