forked from OSchip/llvm-project
Fix check-interception link error in compiler-rt debug mode
llvm-svn: 374472
This commit is contained in:
parent
6442b56974
commit
9280d6c178
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in New Issue