mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-09-03 15:26:49 +00:00
oneTBB enables MSVC IPO/LTCG by default, which emits MSVC proprietary bitcode objects when built with cl.exe. lld-link cannot consume those /GL objects. Patch the TBB MSVC compiler settings so IPO can be disabled and the dependency produces native COFF objects that both link.exe and lld-link can consume.