summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2024-01-22 14:40:48 -0800
committerElliott Hughes <enh@google.com>2024-01-22 14:40:48 -0800
commit57988ec3722b9a632285c8c903e6eacc82a5b11e (patch)
treed9e929dc1036cbf9238ba6ba19a1c5527e2ff20b
parent3b7f7bfd6d1c5f562ff473742c441bee70090cd7 (diff)
downloadmclinker-57988ec3722b9a632285c8c903e6eacc82a5b11e.tar.gz
Silence renderscript build log spam.
No-one's going to clean up unused-but-set variable warnings in a decade-old copy of LLVM... Removes stuff like: ``` In file included from frameworks/compile/mclinker/lib/Target/AArch64/AArch64GOT.cpp:9: In file included from frameworks/compile/mclinker/lib/Target/AArch64/AArch64GOT.h:15: external/llvm/include/llvm/ADT/DenseMap.h:105:14: warning: variable 'NumEntries' set but not used [-Wunused-but-set-variable] unsigned NumEntries = getNumEntries(); ^ ``` Test: treehugger Change-Id: I4f7b1147bc3719a2147f7a068f31444e8e95e5be
-rw-r--r--Android.bp4
1 files changed, 1 insertions, 3 deletions
diff --git a/Android.bp b/Android.bp
index 5efa226..7eb6183 100644
--- a/Android.bp
+++ b/Android.bp
@@ -35,9 +35,7 @@ cc_defaults {
cppflags: [
"-Wall",
- "-Wno-unused-parameter",
- "-Wno-unused-private-field",
- "-Wno-unused-const-variable",
+ "-Wno-unused",
"-Werror",
//To enable asserts: