[gn build] manually port c747b7d1d9 (config.osx_sysroot)

This commit is contained in:
Nico Weber 2021-06-22 12:50:45 -04:00
parent a7786badb7
commit 47553356ef
1 changed files with 4 additions and 0 deletions

View File

@ -85,6 +85,10 @@ write_lit_config("lit_site_cfg") {
"LLVM_BUILD_EXAMPLES=0",
"LLVM_HAVE_TF_AOT=0",
"LLVM_HAVE_TF_API=0",
# See https://reviews.llvm.org/D104332
# FIXME: Maybe set to mac_sdk_path if host_os == "mac"?
"CMAKE_OSX_SYSROOT=",
]
if (host_cpu == "x64") {