diff options
author | 2016-12-19 23:50:41 +0000 | |
---|---|---|
committer | 2016-12-19 23:50:41 +0000 | |
commit | d70bbcee21979ffbd81a490ea5e6685d7f699d56 (patch) | |
tree | c0020e8f28d2a3f0747c392f7755be5028de421e | |
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@
-rw-r--r-- | lib/libcxx/Makefile | 5 | ||||
-rw-r--r-- | lib/libcxxabi/Makefile | 5 |
2 files changed, 6 insertions, 4 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++ 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 |