Source-Changes-HG archive

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

[src/trunk]: src/tools/llvm Work-around for python detection in LLVM's config...



details:   https://anonhg.NetBSD.org/src/rev/49e86bfd09ce
branches:  trunk
changeset: 785062:49e86bfd09ce
user:      joerg <joerg%NetBSD.org@localhost>
date:      Wed Feb 20 14:13:31 2013 +0000

description:
Work-around for python detection in LLVM's configure script

diffstat:

 tools/llvm/Makefile |  7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)

diffs (22 lines):

diff -r 0d1006e10ddf -r 49e86bfd09ce tools/llvm/Makefile
--- a/tools/llvm/Makefile       Wed Feb 20 09:27:52 2013 +0000
+++ b/tools/llvm/Makefile       Wed Feb 20 14:13:31 2013 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.15 2012/06/17 07:40:25 joerg Exp $
+#      $NetBSD: Makefile,v 1.16 2013/02/20 14:13:31 joerg Exp $
 
 .include <bsd.init.mk>
 
@@ -13,8 +13,11 @@
 
 config/config.status: ${LLVM_SRCDIR}/configure
        mkdir -p config
+       printf '#!/bin/sh\necho 2.7.3' > config/python
+       chmod 755 config/python
        cd config && ${LLVM_SRCDIR}/configure ${LLVM_CONFIGURE_ARGS} \
-           --enable-optimized CC=${HOST_CC:Q}
+           --enable-optimized CC=${HOST_CC:Q} \
+           --with-python=${.OBJDIR}/config/python
 # --disable-assertions
 
 need-dl:



Home | Main Index | Thread Index | Old Index