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:
Yi Kong 2022-06-22 03:41:56 +08:00
commit 20a996e1e1

View file

@ -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"],
}
}