From 19dcb7710eee3fa3047d10d2b638b575348a6689 Mon Sep 17 00:00:00 2001 From: David Nadlinger Date: Wed, 13 Feb 2013 00:04:13 +0100 Subject: [PATCH] DW2 EH for MinGW. --- runtime/CMakeLists.txt | 4 +++- runtime/druntime | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/runtime/CMakeLists.txt b/runtime/CMakeLists.txt index c63d05ac..5bf21413 100644 --- a/runtime/CMakeLists.txt +++ b/runtime/CMakeLists.txt @@ -111,7 +111,9 @@ if(UNIX) list(REMOVE_ITEM DCRT_C ${RUNTIME_DC_DIR}/msvc.c) elseif(WIN32) list(APPEND CORE_D_SYS ${CORE_D_WIN}) - list(REMOVE_ITEM LDC_D ${RUNTIME_DIR}/src/ldc/eh.d) + if (MSVC) + list(REMOVE_ITEM LDC_D ${RUNTIME_DIR}/src/ldc/eh.d) + endif() list(REMOVE_ITEM DCRT_C ${RUNTIME_DC_DIR}/monitor.c) endif() list(APPEND CORE_D ${CORE_D_SYNC} ${CORE_D_SYS} ${CORE_D_STDC}) diff --git a/runtime/druntime b/runtime/druntime index d0005efd..9d6918d7 160000 --- a/runtime/druntime +++ b/runtime/druntime @@ -1 +1 @@ -Subproject commit d0005efd55a62698f4c3c2283e549c29486b66c0 +Subproject commit 9d6918d7b6d0d81643a790ac95cc8b49240682cf