Hi, I wanted to use link-time optimization (LTO/-flto) of GCC with libtool. I thought I only have to add "-flto" to CFLAGS and LDFLAGS and then I am finished. But it seems that this is not enough because some CFLAGS aren't copied to the linker command (e.g. -g). This results in a binary with missing information. Is there a differrent "correct" way to use libtool (through automake) with LTO?
Regards _______________________________________________ https://lists.gnu.org/mailman/listinfo/libtool