ARM: Fold in druntime fixes.

This commit is contained in:
David Nadlinger
2013-10-06 08:30:58 +02:00
parent 1d7943bc7e
commit 250f7fab27
2 changed files with 6 additions and 1 deletions

View File

@@ -108,6 +108,11 @@ if(UNIX)
endif()
list(REMOVE_ITEM LDC_D ${RUNTIME_DIR}/src/ldc/eh2.d)
list(REMOVE_ITEM DCRT_C ${RUNTIME_DC_DIR}/msvc.c)
# Using CMAKE_SYSTEM_PROCESSOR might be inacurrate when somebody is
# cross-compiling by just setting the tool executbles to a cross toolchain,
# so just always include the file.
list(APPEND DCRT_C ${RUNTIME_DIR}/src/ldc/arm_unwind.c)
elseif(WIN32)
list(APPEND CORE_D_SYS ${CORE_D_WIN})
if (MSVC)