[PATCH] D53225: [libfuzzer][Windows] Silence linker warning in unittest

Jonathan Metzman via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Oct 14 10:09:56 PDT 2018


This revision was automatically updated to reflect the committed changes.
Closed by commit rL344480: [libfuzzer][Windows] Silence linker warning in unittest (authored by metzman, committed by ).
Herald added subscribers: llvm-commits, delcypher.

Changed prior to commit:
  https://reviews.llvm.org/D53225?vs=169508&id=169606#toc

Repository:
  rL LLVM

https://reviews.llvm.org/D53225

Files:
  compiler-rt/trunk/lib/fuzzer/tests/CMakeLists.txt


Index: compiler-rt/trunk/lib/fuzzer/tests/CMakeLists.txt
===================================================================
--- compiler-rt/trunk/lib/fuzzer/tests/CMakeLists.txt
+++ compiler-rt/trunk/lib/fuzzer/tests/CMakeLists.txt
@@ -17,9 +17,7 @@
 
 if(APPLE OR CMAKE_SYSTEM_NAME STREQUAL "FreeBSD")
   list(APPEND LIBFUZZER_UNITTEST_LINK_FLAGS -lc++ -lpthread)
-elseif(WIN32)
-  list(APPEND LIBFUZZER_UNITTEST_LINK_FLAGS -lstdc++)
-else()
+elseif(NOT WIN32)
   list(APPEND LIBFUZZER_UNITTEST_LINK_FLAGS -lstdc++ -lpthread)
 endif()
 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D53225.169606.patch
Type: text/x-patch
Size: 539 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20181014/ca07f134/attachment.bin>


More information about the llvm-commits mailing list