This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran project.
Re: [PATCH][Fortran] Do not search -L library path for libgfortran.spec
- From: Steve Kargl <sgk at troutmask dot apl dot washington dot edu>
- To: Richard Biener <rguenther at suse dot de>
- Cc: fortran at gcc dot gnu dot org, burnus at net-b dot de
- Date: Thu, 5 Jun 2014 07:22:03 -0700
- Subject: Re: [PATCH][Fortran] Do not search -L library path for libgfortran.spec
- Authentication-results: sourceware.org; auth=none
- References: <alpine dot LSU dot 2 dot 11 dot 1406051208171 dot 2632 at zhemvz dot fhfr dot qr>
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