Module Name: src
Committed By: he
Date: Mon Dec 27 15:10:33 UTC 2010
Modified Files:
src/tests/lib/libc: Makefile
Log Message:
Don't try to build the SSP tests if the target doesn't have SSP.
To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 src/tests/lib/libc/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/Makefile
diff -u src/tests/lib/libc/Makefile:1.10 src/tests/lib/libc/Makefile:1.11
--- src/tests/lib/libc/Makefile:1.10 Mon Dec 27 02:04:19 2010
+++ src/tests/lib/libc/Makefile Mon Dec 27 15:10:33 2010
@@ -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