From d70bbcee21979ffbd81a490ea5e6685d7f699d56 Mon Sep 17 00:00:00 2001 From: patrick Date: Mon, 19 Dec 2016 23:50:41 +0000 Subject: Compile libc++ and libc++abi with clang by default instead of egcc. This allows our build system to selfhost itself after the initial clang bootstrap without relying on an external compiler. with input from and ok kettenis@ --- lib/libcxx/Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'lib/libcxx') diff --git a/lib/libcxx/Makefile b/lib/libcxx/Makefile index 1c2070187f5..4b1b78a6c8e 100644 --- a/lib/libcxx/Makefile +++ b/lib/libcxx/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.2 2016/09/19 11:22:39 kettenis Exp $ +# $OpenBSD: Makefile,v 1.3 2016/12/19 23:50:41 patrick Exp $ HDRDIR= ${.CURDIR}/include SRCDIR= ${.CURDIR}/src @@ -8,7 +8,8 @@ CXXINCLUDEDIR= /usr/include/c++/v1 .PATH: ${SRCDIR} -CXX=eg++ +CC= clang +CXX= clang++ LIB= c++ -- cgit v1.2.3-59-g8ed1b