Question Details

No question body available.

Tags

linux gcc lto

Answers (1)

February 6, 2026 Score: 1 Rep: 54,128 Quality: Low Completeness: 60%

When running configure, pass it the --enable-lto option. However, the documentation says

This is enabled by default, and may be disabled using --disable-lto.

so you might not need to do anything, really.

Also, use --with-arch=native instead of trying to pass -march=native in CFLAGS.