diff options
author | 2016-12-19 23:50:41 +0000 | |
---|---|---|
committer | 2016-12-19 23:50:41 +0000 | |
commit | d70bbcee21979ffbd81a490ea5e6685d7f699d56 (patch) | |
tree | c0020e8f28d2a3f0747c392f7755be5028de421e /lib/libcxx | |
parent | use standard /bin/sh equality test; from Mike Frysinger (diff) | |
download | wireguard-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/libcxx')
-rw-r--r-- | lib/libcxx/Makefile | 5 |
1 files changed, 3 insertions, 2 deletions
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++ |