commit: ab7fc44e73fa6e50494d90fe57deb1e283f191d0 Author: Yuta Satoh <nigoro.dev <AT> gmail <DOT> com> AuthorDate: Sun Oct 2 09:03:17 2016 +0000 Commit: Alexis Ballier <aballier <AT> gentoo <DOT> org> CommitDate: Mon Oct 3 17:02:12 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ab7fc44e
profiles/arch/amd64-fbsd/clang: add some variables for clang support. https://bugs.gentoo.org/show_bug.cgi?id=595878 profiles/arch/amd64-fbsd/clang/profile.bashrc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/profiles/arch/amd64-fbsd/clang/profile.bashrc b/profiles/arch/amd64-fbsd/clang/profile.bashrc index a6e226c..f741ccd 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++
