diff options
author | Braden Kell <bradenkell@google.com> | 2023-07-18 19:55:34 +0000 |
---|---|---|
committer | Braden Kell <bradenkell@google.com> | 2023-07-18 20:53:08 +0000 |
commit | 820ff0d95f4937c953951aae273a72b0980dd7eb (patch) | |
tree | abccf4798c9ec798b67f062264b0a4f513e2de91 | |
parent | c7c0d97c1776e3904bce6be45170288b35417590 (diff) | |
download | pthreadpool-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.bp | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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", ], |