at master 719 B view raw
1This patch fixes interaction with Libtool. 2See <http://thread.gmane.org/gmane.comp.gcc.patches/258777>, for details. 3 4--- a/gcc/fortran/gfortranspec.cc 5+++ b/gcc/fortran/gfortranspec.cc 6@@ -461,8 +461,15 @@ For more information about these matters, see the file named COPYING\n\n")); 7 { 8 fprintf (stderr, _("Driving:")); 9 for (i = 0; i < g77_newargc; i++) 10+ { 11+ if (g77_new_decoded_options[i].opt_index == OPT_l) 12+ /* Make sure no white space is inserted after `-l'. */ 13+ fprintf (stderr, " -l%s", 14+ g77_new_decoded_options[i].canonical_option[1]); 15+ else 16 fprintf (stderr, " %s", 17 g77_new_decoded_options[i].orig_option_with_args_text); 18+ } 19 fprintf (stderr, "\n"); 20 }