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:
002897b
)
[compiler-rt] [test] [fuzzer] Don't pass msvc/clang-cl specific flags to mingw tools
author
Martin Storsjö
<martin@martin.st>
Fri, 31 Mar 2023 15:23:57 +0000
(15:23 +0000)
committer
Martin Storsjö
<martin@martin.st>
Thu, 6 Apr 2023 08:07:42 +0000
(11:07 +0300)
This fixes building the tests so that the tests can start
executing (even if there still are lots of failures).
Differential Revision: https://reviews.llvm.org/D147648
compiler-rt/lib/fuzzer/tests/CMakeLists.txt
patch
|
blob
|
history
diff --git
a/compiler-rt/lib/fuzzer/tests/CMakeLists.txt
b/compiler-rt/lib/fuzzer/tests/CMakeLists.txt
index
10fcfba
..
dd82c49
100644
(file)
--- a/
compiler-rt/lib/fuzzer/tests/CMakeLists.txt
+++ b/
compiler-rt/lib/fuzzer/tests/CMakeLists.txt
@@
-20,7
+20,7
@@
set_target_properties(FuzzedDataProviderUnitTests PROPERTIES FOLDER "Compiler-RT
set(LIBFUZZER_UNITTEST_LINK_FLAGS ${COMPILER_RT_UNITTEST_LINK_FLAGS})
list(APPEND LIBFUZZER_UNITTEST_LINK_FLAGS --driver-mode=g++)
-if(
WIN32
)
+if(
MSVC
)
list(APPEND LIBFUZZER_UNITTEST_LINK_FLAGS -Wl,-defaultlib:libcmt,-defaultlib:oldnames)
else()
if (APPLE)