[Patch, libfortran] PR 47571 Fix static linking regression
Tobias Burnus
burnus@net-b.de
Wed Feb 2 08:15:00 GMT 2011
On 02/01/2011 10:12 PM, Janne Blomqvist wrote:
> Regtested on x86_64-unknown-linux-gnu, tested a simple program to
> ensure usage of clock_gettime() or gettimeofday() depending on whether
> librt is linked. Ok for trunk?
OK. Thanks for the patch - and watch out for failures on Darwin.
Tobias
> 2011-02-01 Janne Blomqvist<jb@gcc.gnu.org>
>
> PR libfortran/47571
> * configure: Regenerated.
> * configure.ac: Don't add librt to LIBS.
> * intrinsics/time_1.h (weak_gettime): Weakref trickery for
> clock_gettime().
> (gf_gettime): Use weak_gettime() instead of clock_gettime().
>
>
More information about the Fortran
mailing list