By using the compiler options -flto, -fno-ident, and -s, unused code and data, compiler version information, as well as symbol tables and debugging information are removed, reducing the binary file size (by 17KB).