summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYuta SATOH <nigoro@gentoo.gr.jp>2014-01-25 20:48:30 +0900
committerYuta SATOH <nigoro@gentoo.gr.jp>2014-01-25 20:48:30 +0900
commitf40165587b2baa0a911e472dac6dd4d4dd4e595b (patch)
tree29a122d5324c82018981464469f807681c61c12e /profiles
parentfadded freebsd-sources-10.0-clang34.patch, (diff)
downloadgentoo-bsd-f40165587b2baa0a911e472dac6dd4d4dd4e595b.tar.gz
gentoo-bsd-f40165587b2baa0a911e472dac6dd4d4dd4e595b.tar.bz2
gentoo-bsd-f40165587b2baa0a911e472dac6dd4d4dd4e595b.zip
clang/profile.bashrc: Add -stdlib=libc++ to CXX. strip-flags to remove -stdlib=libc++ from CXXFLAGS.
Diffstat (limited to 'profiles')
-rw-r--r--profiles/arch/amd64-fbsd/clang/profile.bashrc2
1 files changed, 1 insertions, 1 deletions
diff --git a/profiles/arch/amd64-fbsd/clang/profile.bashrc b/profiles/arch/amd64-fbsd/clang/profile.bashrc
index fe8416a..d768f5f 100644
--- a/profiles/arch/amd64-fbsd/clang/profile.bashrc
+++ b/profiles/arch/amd64-fbsd/clang/profile.bashrc
@@ -6,7 +6,7 @@
# switch to this profile and build stages.
type -P clang > /dev/null && export CC=clang
if type -P clang++ > /dev/null && [ -f /usr/lib/libc++.so ]; then
- export CXX="clang++"
+ export CXX="clang++ -stdlib=libc++"
# add -stdlib=libc++ to CXXFLAGS, bug 498910.
[[ ${CXXFLAGS} != *-stdlib=libc++* ]] && export CXXFLAGS="-stdlib=libc++ ${CXXFLAGS}"
fi