summaryrefslogtreecommitdiffstats
path: root/libcxxabi/CMakeLists.txt
diff options
context:
space:
mode:
authorEric Fiselier <eric@efcs.ca>2017-05-11 03:49:48 +0000
committerEric Fiselier <eric@efcs.ca>2017-05-11 03:49:48 +0000
commit70c2b1c5517ca7eb41d016434db329065e5d6196 (patch)
treee6193d86d2da617307c6c68eec7b5113b304d20a /libcxxabi/CMakeLists.txt
parentaccba012b4365f2b0ac8ab71e37fe81537236583 (diff)
downloadbcm5719-llvm-70c2b1c5517ca7eb41d016434db329065e5d6196.tar.gz
bcm5719-llvm-70c2b1c5517ca7eb41d016434db329065e5d6196.zip
Allow undefined symbols when linking libc++abi.dll on Windows
llvm-svn: 302761
Diffstat (limited to 'libcxxabi/CMakeLists.txt')
-rw-r--r--libcxxabi/CMakeLists.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/libcxxabi/CMakeLists.txt b/libcxxabi/CMakeLists.txt
index 9b3e9c4e1ae..2a0b4da1621 100644
--- a/libcxxabi/CMakeLists.txt
+++ b/libcxxabi/CMakeLists.txt
@@ -431,7 +431,8 @@ endif()
set(LIBCXXABI_HAS_UNDEFINED_SYMBOLS OFF)
if ((NOT LIBCXXABI_ENABLE_NEW_DELETE_DEFINITIONS)
- OR (LIBCXXABI_BUILD_EXTERNAL_THREAD_LIBRARY AND LIBCXXABI_ENABLE_SHARED))
+ OR (LIBCXXABI_BUILD_EXTERNAL_THREAD_LIBRARY AND LIBCXXABI_ENABLE_SHARED)
+ OR MINGW)
set(LIBCXXABI_HAS_UNDEFINED_SYMBOLS ON)
endif()
OpenPOWER on IntegriCloud