about summary refs log tree commit diff
path: root/pkgs/development/compilers/gcc/5.1/gfortran-driving.patch
diff options
context:
space:
mode:
authorWilliam A. Kennington III <william@wkennington.com>2015-05-01 15:57:09 -0700
committerWilliam A. Kennington III <william@wkennington.com>2015-05-01 15:57:09 -0700
commit00df204c82bd6d585c3f19d1a31588fa72519184 (patch)
tree4201fed8adf0505e787b9cf335cd52a7ad657570 /pkgs/development/compilers/gcc/5.1/gfortran-driving.patch
parent8591db4b10e50ad3b61b1708787e4de314424d5d (diff)
parentcf0b6b7be866aaeac75c2ee24245a7bb6ba633b2 (diff)
downloadnixlib-00df204c82bd6d585c3f19d1a31588fa72519184.tar
nixlib-00df204c82bd6d585c3f19d1a31588fa72519184.tar.gz
nixlib-00df204c82bd6d585c3f19d1a31588fa72519184.tar.bz2
nixlib-00df204c82bd6d585c3f19d1a31588fa72519184.tar.lz
nixlib-00df204c82bd6d585c3f19d1a31588fa72519184.tar.xz
nixlib-00df204c82bd6d585c3f19d1a31588fa72519184.tar.zst
nixlib-00df204c82bd6d585c3f19d1a31588fa72519184.zip
Merge remote-tracking branch 'upstream/master' into staging
Diffstat (limited to 'pkgs/development/compilers/gcc/5.1/gfortran-driving.patch')
-rw-r--r--pkgs/development/compilers/gcc/5.1/gfortran-driving.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/pkgs/development/compilers/gcc/5.1/gfortran-driving.patch b/pkgs/development/compilers/gcc/5.1/gfortran-driving.patch
new file mode 100644
index 000000000000..70708886b405
--- /dev/null
+++ b/pkgs/development/compilers/gcc/5.1/gfortran-driving.patch
@@ -0,0 +1,20 @@
+This patch fixes interaction with Libtool.
+See <http://thread.gmane.org/gmane.comp.gcc.patches/258777>, for details.
+
+--- a/gcc/fortran/gfortranspec.c
++++ b/gcc/fortran/gfortranspec.c
+@@ -461,8 +461,15 @@ For more information about these matters, see the file named COPYING\n\n"));
+     {
+       fprintf (stderr, _("Driving:"));
+       for (i = 0; i < g77_newargc; i++)
++	{
++	  if (g77_new_decoded_options[i].opt_index == OPT_l)
++	    /* Make sure no white space is inserted after `-l'.  */
++	    fprintf (stderr, " -l%s",
++		     g77_new_decoded_options[i].canonical_option[1]);
++	  else
+ 	fprintf (stderr, " %s",
+ 		 g77_new_decoded_options[i].orig_option_with_args_text);
++	}
+       fprintf (stderr, "\n");
+     }