projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6442b56
)
Fix check-interception link error in compiler-rt debug mode
author
Reid Kleckner
<rnk@google.com>
Thu, 10 Oct 2019 23:30:54 +0000
(23:30 +0000)
committer
Reid Kleckner
<rnk@google.com>
Thu, 10 Oct 2019 23:30:54 +0000
(23:30 +0000)
llvm-svn: 374472
compiler-rt/lib/interception/tests/CMakeLists.txt
patch
|
blob
|
history
diff --git
a/compiler-rt/lib/interception/tests/CMakeLists.txt
b/compiler-rt/lib/interception/tests/CMakeLists.txt
index
b241811
..
bad6732
100644
(file)
--- 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)