commit | 9c8d711aa5ee3108a8e1e8959be9d0355ca0fa6a | [log] [tgz] |
---|---|---|
author | Elliott Hughes <enh@google.com> | Mon Jun 13 13:23:42 2016 -0700 |
committer | Elliott Hughes <enh@google.com> | Mon Jun 13 14:14:43 2016 -0700 |
tree | d860929c4008c8b28d5516c16e9b404bfd94fa5a | |
parent | c713adeca1b840ea8f2fd94717e77316cb0a39c4 [diff] [blame] |
Don't expose all BSD extensions. Just expose the ones that bionic historically leaked. Also, many of the M_* constants in <math.h> are actually POSIX. Change-Id: I6275df84c5866b872b71f1c8ed14e2aada12b793
diff --git a/libm/Android.bp b/libm/Android.bp index 25c3e8f..23b9d5e 100644 --- a/libm/Android.bp +++ b/libm/Android.bp
@@ -510,6 +510,7 @@ cflags: [ "-D__BIONIC_NO_MATH_INLINES", + "-D_BSD_SOURCE", "-DFLT_EVAL_METHOD=0", "-include freebsd-compat.h", "-Werror",