Index: runtimes/CMakeLists.txt =================================================================== --- runtimes/CMakeLists.txt +++ runtimes/CMakeLists.txt @@ -249,7 +249,6 @@ -DCOMPILER_RT_DEFAULT_TARGET_ONLY=On ${${target}_extra_args} TOOLCHAIN_TOOLS clang lld llvm-ar llvm-ranlib - PASSTHROUGH_PREFIXES COMPILER_RT USE_TOOLCHAIN ${EXTRA_ARGS}) endfunction() @@ -336,7 +335,7 @@ # runtime_register_target(target) # Utility function to register external runtime target. - function(runtime_register_target name target deps prefixes) + function(runtime_register_target name target deps) include(${LLVM_BINARY_DIR}/runtimes/${name}/Components.cmake OPTIONAL) set_property(DIRECTORY APPEND PROPERTY CMAKE_CONFIGURE_DEPENDS ${LLVM_BINARY_DIR}/runtimes/${name}/Components.cmake) @@ -397,7 +396,6 @@ -DLLVM_RUNTIMES_TARGET=${name} ${${name}_extra_args} TOOLCHAIN_TOOLS clang lld llvm-ar llvm-ranlib - PASSTHROUGH_PREFIXES ${prefixes} EXTRA_TARGETS ${${name}_extra_targets} ${${name}_test_targets} USE_TOOLCHAIN @@ -434,7 +432,7 @@ list(GET target_list 1 target) endif() - runtime_register_target(${name} ${target} ${deps} ${prefixes}) + runtime_register_target(${name} ${target} ${deps}) add_dependencies(runtimes runtimes-${name}) add_dependencies(runtimes-configure runtimes-${name}-configure)