Test case requires the GCC specific thread extension for Objective C, so
only enable the test if GCC is present and disable other compiler.
This commit is contained in:
parent
6b4b961da6
commit
3b8335f4ee
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue