Merge "[NFCI] Change llvm-ar '-format' to be '--format'." am: f73658bdc6
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1959508 Change-Id: Ic2fd5cf1c6c1df598519acfb2b08aac4127845d4
This commit is contained in:
@@ -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 {
|
||||
|
Reference in New Issue
Block a user