-lto
The -lto option causes the compiler to generate intermediate code which is optimized before the link.