mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-10-01 14:45:53 +01:00
The big change here is to enable libc++'s debug mode outside of `opt` builds on Linux where it seems to work well with the Homebrew installed toolchain. I'm restricting it to Linux as the system libc++ install on x86 macOS doesn't seem to work. This is based on and subsumes #811. This also tidies up how `-NDEBUG` is set to include non-codegen compile actions, and consolidates some optimization flags in a single location. This part has no functionality change, but would likely invalidate caches so bundled here where both a) I noticed and b) we already had a cache invalidation.