Files
RedBear-OS/local
vasilito 5d426d89a7 llvm-native: use provided tblgen, don't force C++11 native sub-build
Two fixes for the native tblgen sub-build failing on <shared_mutex>:
- LLVM_OPTIMIZED_TABLEGEN=Off: this recipe already provides a host-runnable,
  version-matched llvm-/clang-tblgen (redoxer toolchain, LLVM 21.1.2) via
  *_TABLEGEN_EXE. OPTIMIZED_TABLEGEN=On ignored those and forced a redundant
  native sub-build (CROSS_TOOLCHAIN_FLAGS_NATIVE) that failed. Off => LLVM uses
  the provided tblgen and skips the native build. (llvm21 provides no tblgen,
  so it keeps On and builds its own — different case, left as-is.)
- CMAKE_CXX_FLAGS --std=gnu++11 -> gnu++17: LLVM 21 requires C++17; the stale
  gnu++11 could win the flag-order race in any sub-build and break the headers.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-31 07:01:48 +09:00
..