Gentoo Archives: gentoo-commits

From: Alexis Ballier <aballier@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: profiles/arch/amd64-fbsd/clang/
Date: Mon, 26 Sep 2016 10:44:17
Message-Id: 1474886646.0b1cb1d6aea25cb8801835deaacdbcd7b0de1857.aballier@gentoo
1 commit: 0b1cb1d6aea25cb8801835deaacdbcd7b0de1857
2 Author: Yuta Satoh <nigoro.dev <AT> gmail <DOT> com>
3 AuthorDate: Sat Sep 24 11:01:59 2016 +0000
4 Commit: Alexis Ballier <aballier <AT> gentoo <DOT> org>
5 CommitDate: Mon Sep 26 10:44:06 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0b1cb1d6
7
8 profiles/arch/amd64-fbsd/clang: Change to newway to use libc++ by default
9
10 profiles/arch/amd64-fbsd/clang/make.defaults | 2 +-
11 profiles/arch/amd64-fbsd/clang/package.use.force | 2 +-
12 profiles/arch/amd64-fbsd/clang/profile.bashrc | 2 +-
13 3 files changed, 3 insertions(+), 3 deletions(-)
14
15 diff --git a/profiles/arch/amd64-fbsd/clang/make.defaults b/profiles/arch/amd64-fbsd/clang/make.defaults
16 index a1afd07..fa38e0d 100644
17 --- a/profiles/arch/amd64-fbsd/clang/make.defaults
18 +++ b/profiles/arch/amd64-fbsd/clang/make.defaults
19 @@ -3,6 +3,6 @@
20 # $Id$
21
22 CFLAGS="-O2 -pipe"
23 -CXXFLAGS="-stdlib=libc++ ${CFLAGS}"
24 +CXXFLAGS="${CFLAGS}"
25 FFLAGS="${CFLAGS}"
26 FCFLAGS="${CFLAGS}"
27
28 diff --git a/profiles/arch/amd64-fbsd/clang/package.use.force b/profiles/arch/amd64-fbsd/clang/package.use.force
29 index affb8d1..9fa095c 100644
30 --- a/profiles/arch/amd64-fbsd/clang/package.use.force
31 +++ b/profiles/arch/amd64-fbsd/clang/package.use.force
32 @@ -14,4 +14,4 @@ sys-libs/libcxx static-libs abi_x86_32
33 net-misc/curl ssl curl_ssl_openssl
34
35 # We obviously need clang
36 -sys-devel/llvm clang static-analyzer
37 +sys-devel/llvm clang static-analyzer default-compiler-rt default-libcxx
38
39 diff --git a/profiles/arch/amd64-fbsd/clang/profile.bashrc b/profiles/arch/amd64-fbsd/clang/profile.bashrc
40 index 23cc508..a6e226c 100644
41 --- a/profiles/arch/amd64-fbsd/clang/profile.bashrc
42 +++ b/profiles/arch/amd64-fbsd/clang/profile.bashrc
43 @@ -5,4 +5,4 @@
44 # Check if clang/clang++ exist before setting them so that we can more easily
45 # switch to this profile and build stages.
46 type -P clang > /dev/null && export CC=clang
47 -type -P clang++ > /dev/null && [ -f /usr/lib/libc++.so ] && export CXX="clang++ -stdlib=libc++"
48 +type -P clang++ > /dev/null && [ -f /usr/lib/libc++.so ] && export CXX=clang++