Skip to content

Commit

Permalink
[Fuchsia] Disable libcxx timezone database (#65870)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
abrachet committed Sep 10, 2023
1 parent f2e5000 commit 89471d5
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions clang/cmake/caches/Fuchsia-stage2.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,9 @@ foreach(target aarch64-unknown-linux-gnu;armv7-unknown-linux-gnueabihf;i386-unkn
set(RUNTIMES_${target}_LLVM_TOOLS_DIR "${CMAKE_BINARY_DIR}/bin" CACHE BOOL "")
set(RUNTIMES_${target}_LLVM_ENABLE_RUNTIMES "compiler-rt;libcxx;libcxxabi;libunwind" CACHE STRING "")

# TODO: Remove this once #65859 lands.
set(RUNTIMES_${target}_LIBCXX_ENABLE_TIME_ZONE_DATABASE OFF CACHE STRING "")

# Use .build-id link.
list(APPEND RUNTIME_BUILD_ID_LINK "${target}")
endif()
Expand Down

0 comments on commit 89471d5

Please sign in to comment.