Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/tests/lib/libc/gen -frounding-math is gcc specific, help cla...
details: https://anonhg.NetBSD.org/src/rev/ca5e4c87046b
branches: trunk
changeset: 450821:ca5e4c87046b
user: maya <maya%NetBSD.org@localhost>
date: Fri Apr 26 19:17:05 2019 +0000
description:
-frounding-math is gcc specific, help clang builds
diffstat:
tests/lib/libc/gen/Makefile | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r 11c04af5691a -r ca5e4c87046b tests/lib/libc/gen/Makefile
--- a/tests/lib/libc/gen/Makefile Fri Apr 26 18:49:35 2019 +0000
+++ b/tests/lib/libc/gen/Makefile Fri Apr 26 19:17:05 2019 +0000
@@ -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_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}
Home |
Main Index |
Thread Index |
Old Index