Skip to content
Prev 11 / 139 Next

Some suggested changes to Windows makefiles with respect to experimental toolchain

On Tue, Sep 8, 2015 at 6:32 PM, Avraham Adler <avraham.adler at gmail.com> wrote:
For what it is worth,setting LTOCALL and LTOPREF directly in
src/gnuwin32/fixed/etc/Makeconf as below (as opposed to previous
e-mail), doesn't help either (from "making package 'base'" and on,
there is no -flto in the gcc/gfortran calls).

Thank you again,

Avi


ifdef USE_LTO
  DLLFLAGS+= -Wl,--allow-multiple-definition
  LINKFLAGS+= -Wl,--allow-multiple-definition
  LTOPREF = gcc-
  LTOCALL = -flto
else
  LTOPREF =
  LTOCALL=
endif