What is the current LTO design with regards to the
retention of compiler flags during the actual link
time optimization compilation steps. For example, if
one is linking mixed fortran and c object files which
have distinct flags passed in FFLAGS and CFLAGS, are
these embedded with the LTO information when generating
the object files in the initial compilation or do they
have to be explicitly passed later? If the latter is
the case, how would one deal with the situation of a
linkage with mixed fortran and c LTO object files which
would require conflicting compilation flags? Thanks in
advance for any clarifications.
Jack