------- Comment #10 from rwild at gcc dot gnu dot org 2009-09-21 20:15 ------- Created an attachment (id=18629) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=18629&action=view) proposed patch
Please try out this patch. The problem is, libtool turns off language compiler detection reliably only if the variable ($FC) is set to "no" or empty. But toplevel sets $GFORTRAN to empty plus then adds all the -B paths. So this is kind of a hack. I'm not sure about a better fix though, and this should be fairly safe. I'll submit to gcc-patches if you can confirm that it works. Thanks. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41418