Handle the GCC restriction like the set list by explicitly checking for

HAVE_GCC. When using EXTERNAL_TOOLCHAIN with LLVM, it would still be
picked up otherwise.
This commit is contained in:
joerg 2018-05-09 13:18:02 +00:00
parent 2fc9ba62ad
commit b5dbde748d

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.2 2011/05/20 13:03:45 joerg Exp $
# $NetBSD: Makefile,v 1.3 2018/05/09 13:18:02 joerg Exp $
TESTSDIR= ${TESTSBASE}/lib/libobjc
@ -7,7 +7,7 @@ TESTSDIR= ${TESTSBASE}/lib/libobjc
UNSUPPORTED_COMPILER.clang= # defined
UNSUPPORTED_COMPILER.pcc= # defined
.if !empty(AVAILABLE_COMPILER:Mgcc)
.if ${HAVE_GCC:U0} > 0
TESTS_C= t_threads
.endif