Merge "[NFCI] Change llvm-ar '-format' to be '--format'."
This commit is contained in:
@@ -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 {
|
||||||
|
Reference in New Issue
Block a user