Source-Changes-HG archive

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

[src/trunk]: src/external/bsd/llvm Use right definitions in src/tools/llvm.



details:   https://anonhg.NetBSD.org/src/rev/0d59821810dc
branches:  trunk
changeset: 997979:0d59821810dc
user:      joerg <joerg%NetBSD.org@localhost>
date:      Thu Apr 04 12:34:31 2019 +0000

description:
Use right definitions in src/tools/llvm.

diffstat:

 external/bsd/llvm/Makefile.inc |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r afa839217be8 -r 0d59821810dc external/bsd/llvm/Makefile.inc
--- a/external/bsd/llvm/Makefile.inc    Thu Apr 04 12:26:45 2019 +0000
+++ b/external/bsd/llvm/Makefile.inc    Thu Apr 04 12:34:31 2019 +0000
@@ -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 @@
                -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



Home | Main Index | Thread Index | Old Index