diff options
author | Patrick Wildt <patrick@cvs.openbsd.org> | 2017-06-08 18:33:09 +0000 |
---|---|---|
committer | Patrick Wildt <patrick@cvs.openbsd.org> | 2017-06-08 18:33:09 +0000 |
commit | f87557a7e1399455c62dc96ceef1735e8ff4cb88 (patch) | |
tree | 6f63cd39d3802df7326b77c56630f6e99442aea8 /Makefile.cross | |
parent | 242b61953005261fcb53578b49d506e202177400 (diff) |
Pass CC and CXX to make depend as well. As soon as we support
dependencies in the clang makefiles we need to make sure to use
a compiler that supports C++11.
Diffstat (limited to 'Makefile.cross')
-rw-r--r-- | Makefile.cross | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile.cross b/Makefile.cross index 1773251178a..574abcbd9ae 100644 --- a/Makefile.cross +++ b/Makefile.cross @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile.cross,v 1.94 2017/05/23 14:57:30 patrick Exp $ +# $OpenBSD: Makefile.cross,v 1.95 2017/06/08 18:33:08 patrick Exp $ cross-tools: cross-includes cross-binutils cross-gcc cross-lib cross-distrib: cross-tools cross-bin cross-share cross-sys cross-etc-root-var @@ -228,6 +228,7 @@ ${CROSSGCC}: ${CROSSBINUTILS} MACHINE_ARCH=${TARGET_ARCH} \ ${MAKE} obj) (cd ${.CURDIR}/gnu/usr.bin/clang; \ + CC=clang CXX=clang++ \ MAKEOBJDIR=obj.${MACHINE}.${TARGET} \ MACHINE_ARCH=${TARGET_ARCH} \ ${MAKE} depend) |