Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 595878 | Differences between
and this patch

Collapse All | Expand All

(-)a/profiles/arch/amd64-fbsd/clang/profile.bashrc (-2 / +3 lines)
Lines 4-8 Link Here
4
4
5
# Check if clang/clang++ exist before setting them so that we can more easily
5
# Check if clang/clang++ exist before setting them so that we can more easily
6
# switch to this profile and build stages.
6
# switch to this profile and build stages.
7
type -P clang > /dev/null && export CC=clang
7
# Some packages will require BUILD_{CC,CXX} variables, bug 595878.
8
type -P clang++ > /dev/null && [ -f /usr/lib/libc++.so ] && export CXX=clang++
8
type -P clang > /dev/null && export CC=clang && export BUILD_CC=clang
9
type -P clang++ > /dev/null && [ -f /usr/lib/libc++.so ] && export CXX=clang++ && export BUILD_CXX=clang++

Return to bug 595878