[Patch, libfortran] PR 47571 Fix static linking regression

Janne Blomqvist blomqvist.janne@gmail.com
Wed Feb 2 08:49:00 GMT 2011


On Wed, Feb 2, 2011 at 10:15, Tobias Burnus <burnus@net-b.de> wrote:
> 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.

Thanks for the review,

Sending        libgfortran/ChangeLog
Sending        libgfortran/configure
Sending        libgfortran/configure.ac
Sending        libgfortran/intrinsics/time_1.h
Transmitting file data ....
Committed revision 169517.


>
> 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().
>>
>>
>
>



-- 
Janne Blomqvist



More information about the Fortran mailing list