Module Name:    src
Committed By:   joerg
Date:           Thu Apr  4 12:34:32 UTC 2019

Modified Files:
        src/external/bsd/llvm: Makefile.inc

Log Message:
Use right definitions in src/tools/llvm.


To generate a diff of this commit:
cvs rdiff -u -r1.87 -r1.88 src/external/bsd/llvm/Makefile.inc

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/bsd/llvm/Makefile.inc
diff -u src/external/bsd/llvm/Makefile.inc:1.87 src/external/bsd/llvm/Makefile.inc:1.88
--- src/external/bsd/llvm/Makefile.inc:1.87	Wed Apr  3 15:21:58 2019
+++ src/external/bsd/llvm/Makefile.inc	Thu Apr  4 12:34:31 2019
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile.inc,v 1.87 2019/04/03 15:21:58 joerg Exp $
+#	$NetBSD: Makefile.inc,v 1.88 2019/04/04 12:34:31 joerg Exp $
 
 .if !defined(LLVM_TOPLEVEL_MK)
 LLVM_TOPLEVEL_MK=
@@ -38,7 +38,7 @@ CPPFLAGS+=	-I. -I${CLANG_SRCDIR}/include
 		-DCLANG_OPENMP_NVPTX_DEFAULT_ARCH=\"sm_35\" \
 		-DCLANG_DEFAULT_OBJCOPY=\"objcopy\"
 
-.if defined(HOSTLIB) || defined(HOSTPROG)
+.if defined(HOSTLIB) || defined(HOSTPROG) || defined(_BSD_HOSTINIT_MK_)
 LLVM_INCLUDE_CONFIG=	${LLVM_TOOLCONF_OBJDIR}/config/include
 CLANG_INCLUDE_CONFIG=	${LLVM_TOOLCONF_OBJDIR}/config/tools/clang/include
 MCLINKER_INCLUDE_CONFIG= ${LLVM_TOPLEVEL}/config/mclinker

Reply via email to