aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBraden Kell <bradenkell@google.com>2023-07-18 19:55:34 +0000
committerBraden Kell <bradenkell@google.com>2023-07-18 20:53:08 +0000
commit820ff0d95f4937c953951aae273a72b0980dd7eb (patch)
treeabccf4798c9ec798b67f062264b0a4f513e2de91
parentc7c0d97c1776e3904bce6be45170288b35417590 (diff)
downloadpthreadpool-820ff0d95f4937c953951aae273a72b0980dd7eb.tar.gz
Add -Wno-unused-parameter to enable building for riscv64
This prevents an unused parameter error in set_fpu_state when building for riscv64. RISC-V does not support disabling denormals, so there is no need to implement any of the FPU ops here. Bug: 286142463 Test: Build PthreadPoolTests Change-Id: Id44f3a5c755c7694b118a5782ee933dd450d0c50
-rw-r--r--Android.bp1
1 files changed, 1 insertions, 0 deletions
diff --git a/Android.bp b/Android.bp
index fee3adb..42fff11 100644
--- a/Android.bp
+++ b/Android.bp
@@ -43,6 +43,7 @@ cc_library_static {
"-O2",
"-Wno-deprecated-declarations",
"-Wno-missing-field-initializers",
+ "-Wno-unused-parameter",
"-DPTHREADPOOL_USE_CPUINFO=1",
"-DPTHREADPOOL_USE_CONDVAR=1",
],