Source-Changes-HG archive

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

[src/trunk]: src/tools/llvm Pass HOST_CC otherwise fails e.g. on Mac OS X; fi...



details:   https://anonhg.NetBSD.org/src/rev/b4fa4958f0a9
branches:  trunk
changeset: 767444:b4fa4958f0a9
user:      adam <adam%NetBSD.org@localhost>
date:      Mon Jul 18 18:37:15 2011 +0000

description:
Pass HOST_CC otherwise fails e.g. on Mac OS X; fixed typo in --disable-assertions

diffstat:

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

diffs (24 lines):

diff -r e67705c31dae -r b4fa4958f0a9 tools/llvm/Makefile
--- a/tools/llvm/Makefile       Mon Jul 18 17:51:17 2011 +0000
+++ b/tools/llvm/Makefile       Mon Jul 18 18:37:15 2011 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.9 2011/07/07 05:41:59 matt Exp $
+#      $NetBSD: Makefile,v 1.10 2011/07/18 18:37:15 adam Exp $
 
 .include <bsd.init.mk>
 
@@ -19,10 +19,11 @@
 
 config/config.status: ${LLVM_SRCDIR}/configure
        mkdir -p config
-       cd config && ${LLVM_SRCDIR}/configure --prefix=/usr \
-           --enable-targets=x86,powerpc,sparc,arm,mips --host=${MACHINE_GNU_PLATFORM} \
+       cd config && ${LLVM_SRCDIR}/configure CC=${HOST_CC:Q} --prefix=/usr \
+           --enable-targets=x86,powerpc,sparc,arm,mips \
+           --host=${MACHINE_GNU_PLATFORM} \
            --with-c-include-dirs=/usr/include/clang-3.0:/usr/include \
-           --enable-optimized --disable--assertions
+           --enable-optimized --disable-assertions
 
 need-dl:
        printf '#include <dlfcn.h>\nint main(void){void *p; return dladdr(p, p);}' > need-dl.c



Home | Main Index | Thread Index | Old Index