profiles/arch/amd64-fbsd/clang: add some variables for clang support.

https://bugs.gentoo.org/show_bug.cgi?id=595878
This commit is contained in:
Yuta Satoh
2016-10-03 19:02:12 +02:00
committed by Alexis Ballier
parent 0e1c833954
commit ab7fc44e73
@@ -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++