Follow-up Comment #1, patch #10579 (group libtool):

It turns out my original analysis of the problem was wrong. I had used
configure with -O0 and it was always using that value to compile the .exe
wrapper, no matter what -O I put in the CFLAGS of my particular .exe.

When forcing the LTCFLAGS to something else than -O0 the MAGIC_EXE is gone
from my executable (with llvm-mingw 22 and -flto).

Setting LTCFLAGS via the command line doesn't seem to be possible although it
seems the original intention. I attach another patch that allows setting LTCC
and LTCFLAGS before calling configure. With that it allows to set -O0 and some
other flags without the -flto.


    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/patch/?10579>

_______________________________________________
Message posté via Savannah
https://savannah.gnu.org/

Attachment: signature.asc
Description: PGP signature

Reply via email to