Index: lib/msun/tests/Makefile =================================================================== --- lib/msun/tests/Makefile +++ lib/msun/tests/Makefile @@ -19,6 +19,10 @@ 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-builtins + NETBSD_ATF_TESTS_C= acos_test NETBSD_ATF_TESTS_C+= asin_test NETBSD_ATF_TESTS_C+= atan_test