Module Name: src
Committed By: adam
Date: Mon Jul 18 18:37:15 UTC 2011
Modified Files:
src/tools/llvm: Makefile
Log Message:
Pass HOST_CC otherwise fails e.g. on Mac OS X; fixed typo in
--disable-assertions
To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 src/tools/llvm/Makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/tools/llvm/Makefile
diff -u src/tools/llvm/Makefile:1.9 src/tools/llvm/Makefile:1.10
--- src/tools/llvm/Makefile:1.9 Thu Jul 7 05:41:59 2011
+++ src/tools/llvm/Makefile Mon Jul 18 18:37:15 2011
@@ -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