diff options
| author | Reid Kleckner <rnk@google.com> | 2019-10-10 23:30:54 +0000 |
|---|---|---|
| committer | Reid Kleckner <rnk@google.com> | 2019-10-10 23:30:54 +0000 |
| commit | 9280d6c178a4df3caed74e599db612ea091b296d (patch) | |
| tree | 806b24f7e801fe836a894650e89e5a9634f3b42a /compiler-rt/lib/interception/tests | |
| parent | 6442b5697433e8306e5e5efbcee119931e88b274 (diff) | |
| download | bcm5719-llvm-9280d6c178a4df3caed74e599db612ea091b296d.tar.gz bcm5719-llvm-9280d6c178a4df3caed74e599db612ea091b296d.zip | |
Fix check-interception link error in compiler-rt debug mode
llvm-svn: 374472
Diffstat (limited to 'compiler-rt/lib/interception/tests')
| -rw-r--r-- | compiler-rt/lib/interception/tests/CMakeLists.txt | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/compiler-rt/lib/interception/tests/CMakeLists.txt b/compiler-rt/lib/interception/tests/CMakeLists.txt index b2418110fba..bad67325c5b 100644 --- a/compiler-rt/lib/interception/tests/CMakeLists.txt +++ b/compiler-rt/lib/interception/tests/CMakeLists.txt @@ -32,7 +32,10 @@ else() endif() if(MSVC) list(APPEND INTERCEPTION_TEST_CFLAGS_COMMON -gcodeview) - list(APPEND INTERCEPTION_TEST_LINK_FLAGS_COMMON -Wl,-largeaddressaware) + list(APPEND INTERCEPTION_TEST_LINK_FLAGS_COMMON + -Wl,-largeaddressaware + -Wl,-nodefaultlib:libcmt,-defaultlib:msvcrt,-defaultlib:oldnames + ) endif() list(APPEND INTERCEPTION_TEST_LINK_FLAGS_COMMON -g) |

