Skip to content

feat: add --enable-checking=release and --disable-nls to GCC configure - #35

Merged
skipbit merged 1 commit into
mainfrom
update-gcc-configure-args
Mar 22, 2026
Merged

feat: add --enable-checking=release and --disable-nls to GCC configure#35
skipbit merged 1 commit into
mainfrom
update-gcc-configure-args

Conversation

@skipbit

@skipbit skipbit commented Mar 22, 2026

Copy link
Copy Markdown
Owner

Summary

Add two configure flags to GCC 15.2.0 mold based on KNW-0043 investigation
of Homebrew/Arch/Gentoo best practices.

Changes

  • --enable-checking=release: disable internal consistency checks for production
  • --disable-nls: omit translated error messages (English sufficient for dev toolchain)

Not adopted

  • --with-system-zlib: intentionally skipped to keep the toolchain self-contained.
    scrap distributes standalone toolchains — depending on host zlib would break
    scrap toolchain install in minimal environments (containers, etc.).

Test plan

  • PR validation passes (Light Build: configure only)
  • Full build via workflow_dispatch after merge

- --enable-checking=release: disable expensive internal consistency
  checks for production builds (Homebrew/Arch/Gentoo best practice)
- --disable-nls: omit translated error messages, reducing binary size
  and build dependencies (English diagnostics sufficient for dev toolchain)
- --with-system-zlib intentionally NOT adopted: scrap distributes
  self-contained toolchains, bundled zlib avoids host dependency
@skipbit
skipbit merged commit 8a9ea3c into main Mar 22, 2026
3 checks passed
@skipbit
skipbit deleted the update-gcc-configure-args branch March 22, 2026 06:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant