Merge "hapticgenerator: Update fast-math settings" into main
diff --git a/media/libeffects/hapticgenerator/Android.bp b/media/libeffects/hapticgenerator/Android.bp
index 9975f75..396662e 100644
--- a/media/libeffects/hapticgenerator/Android.bp
+++ b/media/libeffects/hapticgenerator/Android.bp
@@ -63,6 +63,8 @@
         // BiquadFilter. Try the biquad_filter_benchmark test in audio_utils
         // with/without `-ffast-math` for more context.
         "-ffast-math",
+        "-fhonor-infinities",
+        "-fhonor-nans",
         "-fvisibility=hidden",
     ],
 }