Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/tests/lib/libm fix build of t_cabsl from t_cabsl.cxx



details:   https://anonhg.NetBSD.org/src/rev/69649c4cc739
branches:  trunk
changeset: 1011151:69649c4cc739
user:      lukem <lukem%NetBSD.org@localhost>
date:      Sun Jun 21 06:58:16 2020 +0000

description:
fix build of t_cabsl from t_cabsl.cxx

t_cabsl source is in t_cabsl.cxx not t_cabsl.cc - the latter
is what bsd.tests.mk defaults to.

This only broke after my commit of share/mk/bsd.dep.mk rev 1.85
but I don't know why it didn't cause a problem previously.

diffstat:

 tests/lib/libm/Makefile |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (18 lines):

diff -r 2028d00e71fb -r 69649c4cc739 tests/lib/libm/Makefile
--- a/tests/lib/libm/Makefile   Sun Jun 21 03:39:21 2020 +0000
+++ b/tests/lib/libm/Makefile   Sun Jun 21 06:58:16 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.46 2019/04/26 08:52:16 maya Exp $
+# $NetBSD: Makefile,v 1.47 2020/06/21 06:58:16 lukem Exp $
 
 .include <bsd.own.mk>
 
@@ -46,6 +46,8 @@
 TESTS_C+=      t_tanh
 TESTS_CXX+=    t_cabsl
 
+SRCS.t_cabsl=  t_cabsl.cxx
+
 LDADD+=                -lm
 #COPTS+=       -Wfloat-equal
 



Home | Main Index | Thread Index | Old Index