Source-Changes-HG archive

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

[src/trunk]: src/tests/lib/libc Don't try to build the SSP tests if the targe...



details:   https://anonhg.NetBSD.org/src/rev/413c9c843e92
branches:  trunk
changeset: 760109:413c9c843e92
user:      he <he%NetBSD.org@localhost>
date:      Mon Dec 27 15:10:33 2010 +0000

description:
Don't try to build the SSP tests if the target doesn't have SSP.

diffstat:

 tests/lib/libc/Makefile |  9 +++++++--
 1 files changed, 7 insertions(+), 2 deletions(-)

diffs (19 lines):

diff -r d15ada993b7e -r 413c9c843e92 tests/lib/libc/Makefile
--- a/tests/lib/libc/Makefile   Mon Dec 27 14:58:55 2010 +0000
+++ b/tests/lib/libc/Makefile   Mon Dec 27 15:10:33 2010 +0000
@@ -1,8 +1,13 @@
-# $NetBSD: Makefile,v 1.10 2010/12/27 02:04:19 pgoyette Exp $
+# $NetBSD: Makefile,v 1.11 2010/12/27 15:10:33 he Exp $
 
 .include <bsd.own.mk>
+.include <bsd.sys.mk>
 
-TESTS_SUBDIRS+=        gen hash ssp stdlib stdio string
+TESTS_SUBDIRS+=        gen hash stdlib stdio string
+
+.if ${HAS_SSP} == "yes"
+TESTS_SUBDIRS+=        ssp
+.endif
 
 TESTSDIR=      ${TESTSBASE}/lib/libc
 



Home | Main Index | Thread Index | Old Index