[libcxx-commits] [PATCH] D88458: [CMake] Cache compiler-rt library results
Saleem Abdulrasool via Phabricator via libcxx-commits
libcxx-commits at lists.llvm.org
Wed Sep 30 08:32:38 PDT 2020
compnerd added inline comments.
================
Comment at: libunwind/cmake/Modules/HandleCompilerRT.cmake:32
endif()
- set(dest "" PARENT_SCOPE)
- set(CLANG_COMMAND ${CMAKE_CXX_COMPILER} ${LIBUNWIND_COMPILE_FLAGS}
- "--rtlib=compiler-rt" "--print-libgcc-file-name")
- if (CMAKE_CXX_COMPILER_ID MATCHES Clang AND CMAKE_CXX_COMPILER_TARGET)
- list(APPEND CLANG_COMMAND "--target=${CMAKE_CXX_COMPILER_TARGET}")
+ if (NOT target AND CMAKE_CXX_COMPILER_TARGET)
+ set(target "${CMAKE_CXX_COMPILER_TARGET}")
----------------
I'm still not connecting where `target` is set.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D88458/new/
https://reviews.llvm.org/D88458
More information about the libcxx-commits
mailing list