aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2019-09-17 13:05:56 -0700
committerElliott Hughes <enh@google.com>2019-09-17 13:05:56 -0700
commit055b2f3c3849d992f9287a2fa0dbe79bd9f2f251 (patch)
tree99dfc2579397295a80f32f0d6a446c431351ed83
parent53ea2a0a7b537926f4e45523bc6454000eb54bfc (diff)
downloadarm-optimized-routines-055b2f3c3849d992f9287a2fa0dbe79bd9f2f251.tar.gz
Android.bp: tell <math.h> we're part of the implementation.
This is needed before we can upgrade to newer versions of this project, that have added the dummy long double functions for the case where both double and long double are 64-bit. Test: builds Change-Id: Ibc745f3e41cc528b55f108fafb568f4673b488a0
-rwxr-xr-xAndroid.bp3
1 files changed, 3 insertions, 0 deletions
diff --git a/Android.bp b/Android.bp
index 3f3f563..0eeff07 100755
--- a/Android.bp
+++ b/Android.bp
@@ -6,6 +6,9 @@ cc_library {
cflags: [
"-Werror",
"-O2",
+ // We're actually implementing bionic here, so we don't want <math.h>
+ // to try to be helpful by renaming long double routines.
+ "-D__BIONIC_LP32_USE_LONG_DOUBLE",
"-DWANT_ROUNDING=0",
"-DWANT_ERRNO=0",
"-DFLT_EVAL_METHOD=0",