From 820ff0d95f4937c953951aae273a72b0980dd7eb Mon Sep 17 00:00:00 2001 From: Braden Kell Date: Tue, 18 Jul 2023 19:55:34 +0000 Subject: 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 --- Android.bp | 1 + 1 file changed, 1 insertion(+) 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", ], -- cgit v1.2.3