Module Name: src Committed By: joerg Date: Fri May 20 13:03:45 UTC 2011
Modified Files: src/tests/lib/libobjc: Makefile Log Message: Test case requires the GCC specific thread extension for Objective C, so only enable the test if GCC is present and disable other compiler. To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2 src/tests/lib/libobjc/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/libobjc/Makefile diff -u src/tests/lib/libobjc/Makefile:1.1 src/tests/lib/libobjc/Makefile:1.2 --- src/tests/lib/libobjc/Makefile:1.1 Sun Jul 18 12:41:51 2010 +++ src/tests/lib/libobjc/Makefile Fri May 20 13:03:45 2011 @@ -1,8 +1,16 @@ -# $NetBSD: Makefile,v 1.1 2010/07/18 12:41:51 jmmv Exp $ +# $NetBSD: Makefile,v 1.2 2011/05/20 13:03:45 joerg Exp $ TESTSDIR= ${TESTSBASE}/lib/libobjc +.include <bsd.own.mk> + +UNSUPPORTED_COMPILER.clang= # defined +UNSUPPORTED_COMPILER.pcc= # defined + +.if !empty(AVAILABLE_COMPILER:Mgcc) TESTS_C= t_threads +.endif + SRCS.t_threads= t_threads.m WARNS?= 4 CFLAGS+= -pthread