Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/tests/lib/libobjc Handle the GCC restriction li...



details:   https://anonhg.NetBSD.org/src/rev/360ed2448436
branches:  trunk
changeset: 318914:360ed2448436
user:      joerg <joerg%NetBSD.org@localhost>
date:      Wed May 09 13:18:02 2018 +0000
description:
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.

diffstat:

 tests/lib/libobjc/Makefile |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r b67af930ab05 -r 360ed2448436 tests/lib/libobjc/Makefile
--- a/tests/lib/libobjc/Makefile        Wed May 09 08:45:03 2018 +0000
+++ b/tests/lib/libobjc/Makefile        Wed May 09 13:18:02 2018 +0000
@@ -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 @@
 UNSUPPORTED_COMPILER.clang=    # defined
 UNSUPPORTED_COMPILER.pcc=      # defined
 
-.if !empty(AVAILABLE_COMPILER:Mgcc)
+.if ${HAVE_GCC:U0} > 0
 TESTS_C=       t_threads
 .endif
 



Home | Main Index | Thread Index | Old Index