mirror of
https://github.com/oven-sh/bun
synced 2026-02-15 21:32:05 +00:00
Move optimization-focused linker flags to release builds only: - --icf=safe: identical code folding for size optimization - -O2: enable string tail merging optimization - -z,combreloc: combine relocations for faster loading Keep debugging-related flags in all builds: - --compress-debug-sections=zlib: compress debug sections for smaller files - --gdb-index: faster debug symbol loading in GDB This reduces verbose linker output and link times in debug builds while preserving essential debugging functionality. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>