Module Name: src
Committed By: maya
Date: Fri Apr 26 19:17:05 UTC 2019
Modified Files:
src/tests/lib/libc/gen: Makefile
Log Message:
-frounding-math is gcc specific, help clang builds
To generate a diff of this commit:
cvs rdiff -u -r1.52 -r1.53 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.52 src/tests/lib/libc/gen/Makefile:1.53
--- src/tests/lib/libc/gen/Makefile:1.52 Wed Apr 24 15:12:09 2019
+++ src/tests/lib/libc/gen/Makefile Fri Apr 26 19:17:05 2019
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.52 2019/04/24 15:12:09 christos Exp $
+# $NetBSD: Makefile,v 1.53 2019/04/26 19:17:05 maya Exp $
.include <bsd.own.mk>
@@ -40,7 +40,7 @@ TESTS_C+= t_ttyname
TESTS_C+= t_vis
CPPFLAGS.t_siginfo.c+=-D__TEST_FENV
-COPTS.t_fpsetround.c+=-frounding-math
+COPTS.t_fpsetround.c+=${${ACTIVE_CC} == "gcc":? -frounding-math :}
LDADD.t_siginfo+= -lm
DPADD.t_siginfo+= ${LIBM}