diff options
author | Fabian Groffen <grobian@gentoo.org> | 2016-09-04 17:03:09 +0200 |
---|---|---|
committer | Fabian Groffen <grobian@gentoo.org> | 2016-09-04 17:04:42 +0200 |
commit | 159c9d730cdd4ed188ef9aa4ad9a36e322461ce2 (patch) | |
tree | ecb7112fba57101fd262816593ba23145e595bc0 /sys-devel/llvm/files | |
parent | mail-client/mutt: revbump for using correct patchset (diff) | |
download | gentoo-159c9d730cdd4ed188ef9aa4ad9a36e322461ce2.tar.gz gentoo-159c9d730cdd4ed188ef9aa4ad9a36e322461ce2.tar.bz2 gentoo-159c9d730cdd4ed188ef9aa4ad9a36e322461ce2.zip |
sys-devel/llvm: add patch for compiler-rt on Darwin/Prefix
Package-Manager: portage-2.2.28
Diffstat (limited to 'sys-devel/llvm/files')
-rw-r--r-- | sys-devel/llvm/files/3.8.1/compiler-rt/darwin-default-sysroot.patch | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/sys-devel/llvm/files/3.8.1/compiler-rt/darwin-default-sysroot.patch b/sys-devel/llvm/files/3.8.1/compiler-rt/darwin-default-sysroot.patch new file mode 100644 index 000000000000..9122ce9bc79a --- /dev/null +++ b/sys-devel/llvm/files/3.8.1/compiler-rt/darwin-default-sysroot.patch @@ -0,0 +1,14 @@ +find_darwin_sdk_dir: fall back to / for sysroot + +--- a/projects/compiler-rt/cmake/Modules/CompilerRTDarwinUtils.cmake ++++ b/projects/compiler-rt/cmake/Modules/CompilerRTDarwinUtils.cmake +@@ -17,6 +17,9 @@ + ERROR_FILE /dev/null + ) + endif() ++ if("" STREQUAL "${var_internal}") ++ set(var_internal "/") ++ endif() + set(${var} ${var_internal} PARENT_SCOPE) + endfunction() + |