Fix linker error with upstream llvm
https://reviews.llvm.org/rGd07ff995917 changed behaviour of lld and is no longer accepting single dash `-error-limit`. Update to the new flag format. Test: presubmit Change-Id: I7a78128c56157414411d085086091b9d25be0186
This commit is contained in:
parent
b3cfcc5c18
commit
20a996e1e1
1 changed files with 2 additions and 2 deletions
|
|
@ -134,7 +134,7 @@ cc_library {
|
|||
"-Wthread-safety",
|
||||
],
|
||||
|
||||
ldflags: ["-Wl,--exclude-libs=ALL,-error-limit=0"],
|
||||
ldflags: ["-Wl,--exclude-libs=ALL,--error-limit=0"],
|
||||
}
|
||||
|
||||
// Common defaults for compiling the actual APK.
|
||||
|
|
@ -231,4 +231,4 @@ genrule {
|
|||
cmd: "$(location stats-log-api-gen) --java $(out) --module network_tethering" +
|
||||
" --javaPackage com.android.networkstack.tethering.metrics --javaClass TetheringStatsLog",
|
||||
out: ["com/android/networkstack/tethering/metrics/TetheringStatsLog.java"],
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue