Module Name:    src
Committed By:   matt
Date:           Thu Jan 16 09:00:55 UTC 2014

Modified Files:
        src/tools/llvm: Makefile

Log Message:
Pass HOST_CXX to llvm configure as CXX=${HOST_CXX:Q} since llvm wants c++
more than cc.


To generate a diff of this commit:
cvs rdiff -u -r1.17 -r1.18 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.17 src/tools/llvm/Makefile:1.18
--- src/tools/llvm/Makefile:1.17	Mon Sep  2 14:34:57 2013
+++ src/tools/llvm/Makefile	Thu Jan 16 09:00:55 2014
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.17 2013/09/02 14:34:57 joerg Exp $
+#	$NetBSD: Makefile,v 1.18 2014/01/16 09:00:55 matt Exp $
 
 .include <bsd.init.mk>
 
@@ -16,7 +16,7 @@ config/config.status: ${LLVM_SRCDIR}/con
 	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} CXX=${HOST_CXX:Q} \
 	    --with-python=${.OBJDIR}/config/python
 # --disable-assertions
 

Reply via email to