Module Name: src
Committed By: christos
Date: Wed Apr 24 15:12:09 UTC 2019
Modified Files:
src/tests/lib/libc/gen: Makefile
Log Message:
PR/54000: Andreag Gustafsson: Compile the rounding test with
-fround-math since with gcc-7, the default mode ignores fenv settings
(the same effect can be achieved with -O0 :-)
https://gcc.gnu.org/wiki/FloatingPointMath
To generate a diff of this commit:
cvs rdiff -u -r1.51 -r1.52 src/tests/lib/libc/gen/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/libc/gen/Makefile
diff -u src/tests/lib/libc/gen/Makefile:1.51 src/tests/lib/libc/gen/Makefile:1.52
--- src/tests/lib/libc/gen/Makefile:1.51 Wed Feb 8 22:27:07 2017
+++ src/tests/lib/libc/gen/Makefile Wed Apr 24 11:12:09 2019
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.51 2017/02/09 03:27:07 christos Exp $
+# $NetBSD: Makefile,v 1.52 2019/04/24 15:12:09 christos Exp $
.include <bsd.own.mk>
@@ -40,6 +40,7 @@ TESTS_C+= t_ttyname
TESTS_C+= t_vis
CPPFLAGS.t_siginfo.c+=-D__TEST_FENV
+COPTS.t_fpsetround.c+=-frounding-math
LDADD.t_siginfo+= -lm
DPADD.t_siginfo+= ${LIBM}