diff options
author | Yuta Satoh <nigoro.dev@gmail.com> | 2016-10-02 18:03:17 +0900 |
---|---|---|
committer | Alexis Ballier <aballier@gentoo.org> | 2016-10-03 19:02:12 +0200 |
commit | ab7fc44e73fa6e50494d90fe57deb1e283f191d0 (patch) | |
tree | dec547343ba6f982d2614c84687670cc8fd176cc /profiles | |
parent | dev-lang/logtalk: add missing no-docs patch (diff) | |
download | gentoo-ab7fc44e73fa6e50494d90fe57deb1e283f191d0.tar.gz gentoo-ab7fc44e73fa6e50494d90fe57deb1e283f191d0.tar.bz2 gentoo-ab7fc44e73fa6e50494d90fe57deb1e283f191d0.zip |
profiles/arch/amd64-fbsd/clang: add some variables for clang support.
https://bugs.gentoo.org/show_bug.cgi?id=595878
Diffstat (limited to 'profiles')
-rw-r--r-- | profiles/arch/amd64-fbsd/clang/profile.bashrc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/profiles/arch/amd64-fbsd/clang/profile.bashrc b/profiles/arch/amd64-fbsd/clang/profile.bashrc index a6e226c03e6a..f741ccd1ab80 100644 --- a/profiles/arch/amd64-fbsd/clang/profile.bashrc +++ b/profiles/arch/amd64-fbsd/clang/profile.bashrc @@ -4,5 +4,6 @@ # 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++ +# Some packages will require BUILD_{CC,CXX} variables, bug 595878. +type -P clang > /dev/null && export CC=clang && export BUILD_CC=clang +type -P clang++ > /dev/null && [ -f /usr/lib/libc++.so ] && export CXX=clang++ && export BUILD_CXX=clang++ |