Skip to content

Commit 89471d5

Browse files
authored
[Fuchsia] Disable libcxx timezone database (#65870)
tzdb is currently broken when cross compiling from non Linux to Linux. Lets just disable it totally in our toolchain for now. We should remove this when #65859 lands.
1 parent f2e5000 commit 89471d5

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

clang/cmake/caches/Fuchsia-stage2.cmake

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -181,6 +181,9 @@ foreach(target aarch64-unknown-linux-gnu;armv7-unknown-linux-gnueabihf;i386-unkn
181181
set(RUNTIMES_${target}_LLVM_TOOLS_DIR "${CMAKE_BINARY_DIR}/bin" CACHE BOOL "")
182182
set(RUNTIMES_${target}_LLVM_ENABLE_RUNTIMES "compiler-rt;libcxx;libcxxabi;libunwind" CACHE STRING "")
183183

184+
# TODO: Remove this once #65859 lands.
185+
set(RUNTIMES_${target}_LIBCXX_ENABLE_TIME_ZONE_DATABASE OFF CACHE STRING "")
186+
184187
# Use .build-id link.
185188
list(APPEND RUNTIME_BUILD_ID_LINK "${target}")
186189
endif()

0 commit comments

Comments
 (0)