mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-18 18:42:46 +02:00
[build] Fix runtimes build after 2e745ba6b0ba
I missed the NOT in the condition; this part is actually responsible for passing LLVM_ENABLE_RUNTIMES to the per-target runtime configures, which in turn makes them actually build. I'll put up a more general solution for review, but restore this in the meantime to fix the runtimes build.
This commit is contained in:
parent
3f4dd6c98c
commit
5a787c421a
@ -466,6 +466,11 @@ else() # if this is included from LLVM's CMake
|
|||||||
endif()
|
endif()
|
||||||
endforeach()
|
endforeach()
|
||||||
|
|
||||||
|
if(NOT RUNTIMES_${target}_LLVM_ENABLE_RUNTIMES OR RUNTIMES_${name}_LLVM_ENABLE_RUNTIMES)
|
||||||
|
string(REPLACE ";" "|" LLVM_ENABLE_RUNTIMES_PASSTHROUGH "${LLVM_ENABLE_RUNTIMES}")
|
||||||
|
list(APPEND ${name}_extra_args -DLLVM_ENABLE_RUNTIMES=${LLVM_ENABLE_RUNTIMES_PASSTHROUGH})
|
||||||
|
endif()
|
||||||
|
|
||||||
if(target IN_LIST LLVM_RUNTIME_BUILD_ID_LINK_TARGETS)
|
if(target IN_LIST LLVM_RUNTIME_BUILD_ID_LINK_TARGETS)
|
||||||
list(APPEND EXTRA_ARGS STRIP_TOOL ${CMAKE_CURRENT_BINARY_DIR}/llvm-strip-link)
|
list(APPEND EXTRA_ARGS STRIP_TOOL ${CMAKE_CURRENT_BINARY_DIR}/llvm-strip-link)
|
||||||
endif()
|
endif()
|
||||||
|
Loading…
Reference in New Issue
Block a user