diff options
author | Chih-Hung Hsieh <chh@google.com> | 2021-01-26 14:02:23 -0800 |
---|---|---|
committer | Chih-hung Hsieh <chh@google.com> | 2021-02-04 23:51:53 +0000 |
commit | 444e2f69e95e25a206efb120dff3d4dde637746b (patch) | |
tree | a20cccffbfae953478b65cd80991d1c0a68020b6 /libm | |
parent | 15ade069b10f7f5291e48c01db2da4852dae04b7 (diff) |
Add -Wno-ignored-pragmas.
* https://reviews.llvm.org/D90316 changed warning on
FENV_ACCESS pragma from unknown to ignored.
Existing -Wno-unknown-pragmas cannot suppress the new
-Wignored-pragmas.
Bug: 178516148
Test: make with WITH_TIDY=1
Change-Id: I783feef35324ef43946efca844cd944410875bfa
Diffstat (limited to 'libm')
-rw-r--r-- | libm/Android.bp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libm/Android.bp b/libm/Android.bp index 735b1cf71..723d126dc 100644 --- a/libm/Android.bp +++ b/libm/Android.bp @@ -475,6 +475,7 @@ cc_library { "-fno-math-errno", "-Wall", "-Werror", + "-Wno-ignored-pragmas", "-Wno-missing-braces", "-Wno-parentheses", "-Wno-sign-compare", |