What is the proper way to enable FLTO compiling C++ with GCC 12 ? I would like to enable full performance optimization and beeing enable to discard maximum of unsed code in final binary.
Does option differ depending type of target (.a, .so, exe)
Thanks for your replies,
Regards,
XS