aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNarayan Kamath <narayan@google.com>2014-10-07 09:58:09 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2014-10-07 09:58:09 +0000
commit8b08bde15b80b40d3cbb731f5415434fc843d800 (patch)
tree5c90d051aed7bd21667adfb60a8bbeb60e226398
parentc831c726067e0d8a05362e710e2405f0eff81e07 (diff)
parent0eb593375b6e890846eedbf08ee6901e1d73beba (diff)
downloadfdlibm-l-preview.tar.gz
Merge "ARM64: Fix fdlibm compilation flags."android-l-preview_r2l-preview
-rw-r--r--Android.mk3
1 files changed, 3 insertions, 0 deletions
diff --git a/Android.mk b/Android.mk
index 734bfae..5cf8648 100644
--- a/Android.mk
+++ b/Android.mk
@@ -54,6 +54,9 @@ cflags += "-D__LITTLE_ENDIAN"
cflags += "-fno-strict-aliasing"
cflags += "-ffloat-store"
+# c99 specifies a less relaxed floating point model that does not enable
+# floating point expession contraction (e.g: fused multiply-add operations).
+cflags += "-std=c99"
#
# Build for the target (device).