Skip to content

Commit c8e73ca

Browse files
committed
Fix wrong uses of LLVM_RUNTIME_OUTPUT_INTDIR in compiler-rt
1 parent ce507a8 commit c8e73ca

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

compiler-rt/cmake/base-config-ix.cmake

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,9 +59,9 @@ if (LLVM_TREE_AVAILABLE)
5959
set(_host_executable_suffix ${CMAKE_EXECUTABLE_SUFFIX})
6060
endif()
6161
set(COMPILER_RT_TEST_COMPILER
62-
${LLVM_RUNTIME_OUTPUT_INTDIR}/clang${_host_executable_suffix})
62+
${LLVM_TOOLS_BINARY_DIR}/clang${_host_executable_suffix})
6363
set(COMPILER_RT_TEST_CXX_COMPILER
64-
${LLVM_RUNTIME_OUTPUT_INTDIR}/clang++${_host_executable_suffix})
64+
${LLVM_TOOLS_BINARY_DIR}/clang++${_host_executable_suffix})
6565
else()
6666
# Take output dir and install path from the user.
6767
set(COMPILER_RT_OUTPUT_DIR ${CMAKE_CURRENT_BINARY_DIR} CACHE PATH

compiler-rt/lib/sanitizer_common/symbolizer/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ foreach(arch ${SANITIZER_COMMON_SUPPORTED_ARCH})
1313
scripts/build_symbolizer.sh
1414
WORKING_DIRECTORY ${RTSanitizerCommonSymbolizerInternalDir}
1515
COMMAND FLAGS=${TARGET_CFLAGS}
16-
CLANG=${LLVM_RUNTIME_OUTPUT_INTDIR}/clang
16+
CLANG=${LLVM_TOOLS_BINARY_DIR}/clang
1717
${CMAKE_CURRENT_SOURCE_DIR}/scripts/build_symbolizer.sh
1818
${CMAKE_CURRENT_BINARY_DIR}/RTSanitizerCommonSymbolizerInternal.${arch}.o
1919
USES_TERMINAL)

0 commit comments

Comments
 (0)