mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-24 11:37:20 -08:00
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:
@@ -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++
|
||||
|
||||
Reference in New Issue
Block a user