Files
mattgodbolt-molty de29959ef0 fix: use baseOptions for clangx86trunk gcc-toolchain so per-compiler options don't override it
Compilers in the clangx86trunk group that set their own `options` (e.g.
`-stdlib=libc++`) silently override the group-level `options` property,
which means they lose `--gcc-toolchain=/opt/compiler-explorer/gcc-snapshot`
and fall back to the system GCC 13. This causes `-stdlib=libstdc++` users
to get a stale libstdc++ that lacks headers like `bits/version.h`.

Fix by moving the toolchain flag to `baseOptions`, which is concatenated
with `options` rather than replaced by it. `clang_p1144` and
`clang_lifetime` already set their own toolchain, so they get their own
`baseOptions` override with the correct path and the toolchain flag is
moved out of their `options`.

Affects ~18 compilers including clang_hana, clang_bb_p2996, clang_p2998,
clang_patmat, clang_resugar, clang_barry, clang_concepts, and others.

🤖 Generated by LLM (Claude, via OpenClaw)
2026-07-09 05:54:15 -05:00
..
2025-08-28 22:21:34 +02:00