[PATCH][Fortran] Do not search -L library path for libgfortran.spec
Steve Kargl
sgk@troutmask.apl.washington.edu
Thu Jun 5 14:22:00 GMT 2014
On Thu, Jun 05, 2014 at 12:11:38PM +0200, Richard Biener wrote:
>
> The following patch fixes PR61418 by removing the odd code (probably
> copied from Java) that adds a -specs= command line flag if
> libgfortran.spec was found in a path specified by -L. It shouldn't
> be necessary to search those paths (and it could be harmful instead,
> as random paths may contain random files named libgfortran.spec).
> The proper way to add a search path for specs is to specify -B.
>
> libgfortran.spec is handled specially here - libgomp.spec for
> example is not found in -L paths (libgcj.spec is though, but I
> don't intend to fix that ...).
>
> Bootstrap and regtest in progress on x86_64-unknown-linux-gnu.
>
> Ok for trunk and 4.9 branch?
>
OK. Thanks for the patch.
--
Steve
More information about the Fortran
mailing list