diff options
Diffstat (limited to 'lib/msun/tests/Makefile')
-rw-r--r-- | lib/msun/tests/Makefile | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/msun/tests/Makefile b/lib/msun/tests/Makefile index d58333271e9b..85a558bb0733 100644 --- a/lib/msun/tests/Makefile +++ b/lib/msun/tests/Makefile @@ -19,6 +19,10 @@ CFLAGS+= -I${TESTSRC:H}/libc/gen CFLAGS+= -D__HAVE_LONG_DOUBLE .endif +# Avoid builtins, to force the compiler to emit calls to the libm +# functions, and not calculate any results in advance. +CFLAGS+= -fno-builtin + NETBSD_ATF_TESTS_C= acos_test NETBSD_ATF_TESTS_C+= asin_test NETBSD_ATF_TESTS_C+= atan_test |