Sync tools build glue with LLVM pre-4.0.0.

This commit is contained in:
joerg 2017-01-11 12:08:34 +00:00
parent 6408d22c9c
commit 501cd18a74
11 changed files with 31 additions and 4 deletions

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.186 2016/01/24 22:49:08 christos Exp $
# $NetBSD: Makefile,v 1.187 2017/01/11 12:08:34 joerg Exp $
.include <bsd.own.mk>
.include <bsd.endian.mk>
@ -125,7 +125,7 @@ SUBDIR+= stat .WAIT config
.if ${MKLLVM} != "no"
SUBDIR+= \
llvm .WAIT \
llvm-lib/libLLVMSupport llvm-lib/libLLVMTableGen .WAIT \
llvm-lib/libLLVMDemangle llvm-lib/libLLVMSupport llvm-lib/libLLVMTableGen .WAIT \
llvm-tblgen llvm-clang-tblgen .WAIT \
llvm-include .WAIT \
llvm-lib .WAIT \

View File

@ -0,0 +1,3 @@
# $NetBSD: Makefile,v 1.1 2017/01/11 12:08:35 joerg Exp $
.include <bsd.init.mk>

View File

@ -0,0 +1,3 @@
# $NetBSD: Makefile,v 1.1 2017/01/11 12:08:35 joerg Exp $
.include <bsd.init.mk>

View File

@ -0,0 +1,3 @@
# $NetBSD: Makefile,v 1.1 2017/01/11 12:08:35 joerg Exp $
.include <bsd.init.mk>

View File

@ -0,0 +1,3 @@
# $NetBSD: Makefile,v 1.1 2017/01/11 12:08:35 joerg Exp $
.include <bsd.init.mk>

View File

@ -0,0 +1,3 @@
# $NetBSD: Makefile,v 1.1 2017/01/11 12:08:35 joerg Exp $
.include <bsd.init.mk>

View File

@ -0,0 +1,3 @@
# $NetBSD: Makefile,v 1.1 2017/01/11 12:08:35 joerg Exp $
.include <bsd.init.mk>

View File

@ -0,0 +1,3 @@
# $NetBSD: Makefile,v 1.1 2017/01/11 12:08:35 joerg Exp $
.include <bsd.init.mk>

View File

@ -0,0 +1,3 @@
# $NetBSD: Makefile,v 1.1 2017/01/11 12:08:35 joerg Exp $
.include <bsd.init.mk>

View File

@ -0,0 +1,3 @@
# $NetBSD: Makefile,v 1.1 2017/01/11 12:08:35 joerg Exp $
.include <bsd.init.mk>

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.20 2015/03/05 10:22:25 joerg Exp $
# $NetBSD: Makefile,v 1.21 2017/01/11 12:08:34 joerg Exp $
.include <bsd.init.mk>
@ -15,7 +15,7 @@ config/config.status: ${LLVM_SRCDIR}/configure
mkdir -p config
printf '#!/bin/sh\necho 2.7.3' > config/python
chmod 755 config/python
cd config && ${HOST_SH} ${LLVM_SRCDIR}/configure ${LLVM_CONFIGURE_ARGS} \
cd config && ${HOST_SH} ${CONFIG_DIR}/configure ${LLVM_CONFIGURE_ARGS} \
--enable-optimized CC=${HOST_CC:Q} CXX=${HOST_CXX:Q} \
--with-python=${.OBJDIR}/config/python
# --disable-assertions