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  
    2828
    2929# Compile libFuzzer if the compilation is specifically requested, OR
    3030# if the platform is known to be working.
    31 if ( LLVM_USE_SANITIZE_COVERAGE OR CMAKE_SYSTEM_NAME MATCHES "Darwin|Linux" )
     31if ( LLVM_USE_SANITIZE_COVERAGE OR CMAKE_SYSTEM_NAME STREQUAL "Linux" OR (CMAKE_SYSTEM_NAME STREQUAL "Darwin" AND NOT ${CMAKE_SYSTEM_VERSION} VERSION_LESS 11) )
    3232  add_library(LLVMFuzzerNoMainObjects OBJECT
    3333      FuzzerCrossOver.cpp
    3434      FuzzerDriver.cpp