commit: 0b1cb1d6aea25cb8801835deaacdbcd7b0de1857
Author: Yuta Satoh <nigoro.dev <AT> gmail <DOT> com>
AuthorDate: Sat Sep 24 11:01:59 2016 +0000
Commit: Alexis Ballier <aballier <AT> gentoo <DOT> org>
CommitDate: Mon Sep 26 10:44:06 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0b1cb1d6
profiles/arch/amd64-fbsd/clang: Change to newway to use libc++ by default
profiles/arch/amd64-fbsd/clang/make.defaults | 2 +-
profiles/arch/amd64-fbsd/clang/package.use.force | 2 +-
profiles/arch/amd64-fbsd/clang/profile.bashrc | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/profiles/arch/amd64-fbsd/clang/make.defaults
b/profiles/arch/amd64-fbsd/clang/make.defaults
index a1afd07..fa38e0d 100644
--- a/profiles/arch/amd64-fbsd/clang/make.defaults
+++ b/profiles/arch/amd64-fbsd/clang/make.defaults
@@ -3,6 +3,6 @@
# $Id$
CFLAGS="-O2 -pipe"
-CXXFLAGS="-stdlib=libc++ ${CFLAGS}"
+CXXFLAGS="${CFLAGS}"
FFLAGS="${CFLAGS}"
FCFLAGS="${CFLAGS}"
diff --git a/profiles/arch/amd64-fbsd/clang/package.use.force
b/profiles/arch/amd64-fbsd/clang/package.use.force
index affb8d1..9fa095c 100644
--- a/profiles/arch/amd64-fbsd/clang/package.use.force
+++ b/profiles/arch/amd64-fbsd/clang/package.use.force
@@ -14,4 +14,4 @@ sys-libs/libcxx static-libs abi_x86_32
net-misc/curl ssl curl_ssl_openssl
# We obviously need clang
-sys-devel/llvm clang static-analyzer
+sys-devel/llvm clang static-analyzer default-compiler-rt default-libcxx
diff --git a/profiles/arch/amd64-fbsd/clang/profile.bashrc
b/profiles/arch/amd64-fbsd/clang/profile.bashrc
index 23cc508..a6e226c 100644
--- a/profiles/arch/amd64-fbsd/clang/profile.bashrc
+++ b/profiles/arch/amd64-fbsd/clang/profile.bashrc
@@ -5,4 +5,4 @@
# Check if clang/clang++ exist before setting them so that we can more easily
# switch to this profile and build stages.
type -P clang > /dev/null && export CC=clang
-type -P clang++ > /dev/null && [ -f /usr/lib/libc++.so ] && export
CXX="clang++ -stdlib=libc++"
+type -P clang++ > /dev/null && [ -f /usr/lib/libc++.so ] && export CXX=clang++