[PATCH] D147648: [compiler-rt] [test] [fuzzer] Don't pass msvc specific flags to mingw tools
Martin Storsjö via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Apr 6 01:09:42 PDT 2023
This revision was automatically updated to reflect the committed changes.
Closed by commit rGf2c9d24e8c8d: [compiler-rt] [test] [fuzzer] Don't pass msvc/clang-cl specific flags to mingw… (authored by mstorsjo).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D147648/new/
https://reviews.llvm.org/D147648
Files:
compiler-rt/lib/fuzzer/tests/CMakeLists.txt
Index: compiler-rt/lib/fuzzer/tests/CMakeLists.txt
===================================================================
--- compiler-rt/lib/fuzzer/tests/CMakeLists.txt
+++ compiler-rt/lib/fuzzer/tests/CMakeLists.txt
@@ -20,7 +20,7 @@
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)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D147648.511315.patch
Type: text/x-patch
Size: 501 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230406/c8680b3e/attachment.bin>
More information about the llvm-commits
mailing list