Module Name: src
Committed By: riastradh
Date: Wed Nov 7 03:56:18 UTC 2018
Modified Files:
src/tests/lib/libm: Makefile
Log Message:
Build libm tests with -fno-builtin.
This way they test libm, not whatever the compiler does.
We should _also_ have automatic integration tests for what the
compiler does, as a separate thing.
To generate a diff of this commit:
cvs rdiff -u -r1.44 -r1.45 src/tests/lib/libm/Makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/tests/lib/libm/Makefile
diff -u src/tests/lib/libm/Makefile:1.44 src/tests/lib/libm/Makefile:1.45
--- src/tests/lib/libm/Makefile:1.44 Wed Jun 20 03:51:27 2018
+++ src/tests/lib/libm/Makefile Wed Nov 7 03:56:18 2018
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.44 2018/06/20 03:51:27 maya Exp $
+# $NetBSD: Makefile,v 1.45 2018/11/07 03:56:18 riastradh Exp $
.include <bsd.own.mk>
@@ -7,6 +7,7 @@ TESTSDIR= ${TESTSBASE}/lib/libm
.if ${MACHINE} == "alpha"
COPTS+= -mfloat-ieee -mieee-with-inexact -mfp-trap-mode=sui -mtrap-precision=i
.endif
+COPTS+= -fno-builtin
CPPFLAGS.t_fenv.c+= -D__TEST_FENV
CPPFLAGS.t_fe_round.c+= -D__TEST_FENV