Module Name: src
Committed By: joerg
Date: Wed May 9 13:18:02 UTC 2018
Modified Files:
src/tests/lib/libobjc: Makefile
Log Message:
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.
To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 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.2 src/tests/lib/libobjc/Makefile:1.3
--- src/tests/lib/libobjc/Makefile:1.2 Fri May 20 13:03:45 2011
+++ src/tests/lib/libobjc/Makefile Wed May 9 13:18:02 2018
@@ -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