Ticket #54996: 0005-Dont-build-LibFuzzer-pre-Lion-due-to-missing-__threa.patch
File 0005-Dont-build-LibFuzzer-pre-Lion-due-to-missing-__threa.patch, 607 bytes (added by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez), 7 years ago) |
---|
-
lib/Fuzzer/CMakeLists.txt
a b 28 28 29 29 # Compile libFuzzer if the compilation is specifically requested, OR 30 30 # if the platform is known to be working. 31 if ( LLVM_USE_SANITIZE_COVERAGE OR CMAKE_SYSTEM_NAME MATCHES "Darwin|Linux")31 if ( LLVM_USE_SANITIZE_COVERAGE OR CMAKE_SYSTEM_NAME STREQUAL "Linux" OR (CMAKE_SYSTEM_NAME STREQUAL "Darwin" AND NOT ${CMAKE_SYSTEM_VERSION} VERSION_LESS 11) ) 32 32 add_library(LLVMFuzzerNoMainObjects OBJECT 33 33 FuzzerCrossOver.cpp 34 34 FuzzerDriver.cpp