sys-devel/llvm: disable the use of xcrun on OSX, bug #568758

Package-Manager: portage-2.2.20-prefix
This commit is contained in:
Fabian Groffen
2016-01-09 19:53:19 +01:00
parent 3020590338
commit c5a7da31d5
4 changed files with 12 additions and 0 deletions

View File

@@ -165,6 +165,9 @@ src_prepare() {
projects/compiler-rt/make/platform/clang_*.mk || die
fi
# disable use of SDK on OSX, bug #568758
sed -i -e 's/xcrun/false/' utils/lit/lit/util.py || die
local sub_files=(
Makefile.config.in
Makefile.rules

View File

@@ -172,6 +172,9 @@ src_prepare() {
projects/compiler-rt/make/platform/clang_*.mk || die
fi
# disable use of SDK on OSX, bug #568758
sed -i -e 's/xcrun/false/' utils/lit/lit/util.py || die
local sub_files=(
Makefile.config.in
Makefile.rules

View File

@@ -173,6 +173,9 @@ src_prepare() {
# Fix msan with newer kernels, #569894
epatch "${FILESDIR}"/llvm-3.7-msan-fix.patch
# disable use of SDK on OSX, bug #568758
sed -i -e 's/xcrun/false/' utils/lit/lit/util.py || die
if use clang; then
# Automatically select active system GCC's libraries, bugs #406163 and #417913
epatch "${FILESDIR}"/clang-3.5-gentoo-runtime-gcc-detection-v3.patch

View File

@@ -174,6 +174,9 @@ src_prepare() {
# https://bugs.gentoo.org/show_bug.cgi?id=565358
epatch "${FILESDIR}"/llvm-3.8-llvm-config.patch
# disable use of SDK on OSX, bug #568758
sed -i -e 's/xcrun/false/' utils/lit/lit/util.py || die
if use clang; then
# Automatically select active system GCC's libraries, bugs #406163 and #417913
epatch "${FILESDIR}"/clang-3.5-gentoo-runtime-gcc-detection-v3.patch