mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
sys-devel/llvm: disable the use of xcrun on OSX, bug #568758
Package-Manager: portage-2.2.20-prefix
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user