gn build: Unbreak mac build after 4066591

This commit is contained in:
Nico Weber 2019-12-06 09:08:53 -05:00
parent 8c714c9302
commit 133a92f87c
1 changed files with 5 additions and 1 deletions

View File

@ -1,7 +1,11 @@
import("//llvm/utils/gn/build/toolchain/compiler.gni")
supported_toolchains = []
if (target_os != "win") {
# FIXME: On macOS, stage2_unix currently doesn't copy libc++ headers to
# the out dir, but clang relies on them on mac to compile code that uses C++
# standard library headers. scudo needs C++ standard library headers, so disable
# this on mac until stage2_unix correctly copies libc++ headers.
if (target_os != "win" && target_os != "mac") {
supported_toolchains += [ "//llvm/utils/gn/build/toolchain:stage2_unix" ]
}
if (android_ndk_path != "") {