summaryrefslogtreecommitdiffstats
path: root/lib/libcxxabi
diff options
context:
space:
mode:
authorpatrick <patrick@openbsd.org>2016-12-19 23:50:41 +0000
committerpatrick <patrick@openbsd.org>2016-12-19 23:50:41 +0000
commitd70bbcee21979ffbd81a490ea5e6685d7f699d56 (patch)
treec0020e8f28d2a3f0747c392f7755be5028de421e /lib/libcxxabi
parentuse standard /bin/sh equality test; from Mike Frysinger (diff)
downloadwireguard-openbsd-d70bbcee21979ffbd81a490ea5e6685d7f699d56.tar.xz
wireguard-openbsd-d70bbcee21979ffbd81a490ea5e6685d7f699d56.zip
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@
Diffstat (limited to 'lib/libcxxabi')
-rw-r--r--lib/libcxxabi/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/libcxxabi/Makefile b/lib/libcxxabi/Makefile
index 1e9a7ccc9e0..8925f945e19 100644
--- a/lib/libcxxabi/Makefile
+++ b/lib/libcxxabi/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.3 2016/09/19 22:37:23 kettenis Exp $
+# $OpenBSD: Makefile,v 1.4 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} ${.CURDIR}/../libunwind/src
-CXX=eg++
+CC= clang
+CXX= clang++
LIB= c++abi