Ticket #68364: patch-no_wrong_assembly.diff

File patch-no_wrong_assembly.diff, 798 bytes (added by Schamschula (Marius Schamschula), 10 months ago)
  • src/llvm-project/llvm/lib/Support/BLAKE3/CMakeLists.txt

    See https://github.com/llvm/llvm-project/issues/59965
    Use of muniversal PG ensures CMAKE_OSX_ARCHITECTURES is only one value,
        so the fix can be different from the fix in the LLVM port.
    
    old new  
    5454    endif()
    5555  else()
    5656    check_symbol_exists(__x86_64__ "" IS_X64)
    57     if (IS_X64 OR CMAKE_OSX_ARCHITECTURES MATCHES "x86_64")
     57    if (IS_X64)
    5858      # In a macOS Universal build (setting CMAKE_OSX_ARCHITECTURES to multiple
    5959      # values), compilation of the source files will target multiple architectures
    6060      # (each source file is internally compiled once for each architecture).