diff options
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++ |