about summary refs log tree commit diff
path: root/math
diff options
context:
space:
mode:
Diffstat (limited to 'math')
-rw-r--r--math/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/math/Makefile b/math/Makefile
index a2ceb06925..48652167ad 100644
--- a/math/Makefile
+++ b/math/Makefile
@@ -71,5 +71,9 @@ include ../Rules
 # the error return conventions for the math functions.
 CPPFLAGS-s_lib_version.c := -D_POSIX_MODE
 
+# We don't want the fdlibm code to use the inline math functions,
+# only the fdlibm code.
+CPPFLAGS += -D__NO_MATH_INLINES
+
 # The fdlibm code generates a lot of these warnings but is otherwise clean.
 override CFLAGS += -Wno-uninitialized -Wno-write-strings