diff options
author | bstarynk <bstarynk@138bc75d-0d04-0410-961f-82ee72b054a4> | 2011-02-02 15:17:45 +0000 |
---|---|---|
committer | bstarynk <bstarynk@138bc75d-0d04-0410-961f-82ee72b054a4> | 2011-02-02 15:17:45 +0000 |
commit | 473b39e749c43bbac18af0f7be22e0b2abb48e42 (patch) | |
tree | f5bedd667b23309956b2154486b16b9068eb1ef6 /libgfortran/configure | |
parent | 00fc5e9d279e07d29741de257413ff6c0abe42a6 (diff) | |
download | gcc-473b39e749c43bbac18af0f7be22e0b2abb48e42.tar.gz |
2011-02-02 Basile Starynkevitch <basile@starynkevitch.net>
MELT branch merged with trunk rev 169522
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/melt-branch@169528 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libgfortran/configure')
-rwxr-xr-x | libgfortran/configure | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libgfortran/configure b/libgfortran/configure index ec5c7ed999b..d052a05cdcf 100755 --- a/libgfortran/configure +++ b/libgfortran/configure @@ -25262,7 +25262,8 @@ fi # At least for glibc, clock_gettime is in librt. But don't pull that # in if it still doesn't give us the function we want. -# This test is copied from libgomp. +# This test is copied from libgomp, and modified to not link in -lrt +# as libgfortran calls clock_gettime via a weak reference. if test $ac_cv_func_clock_gettime = no; then { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime in -lrt" >&5 $as_echo_n "checking for clock_gettime in -lrt... " >&6; } @@ -25304,7 +25305,6 @@ fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_clock_gettime" >&5 $as_echo "$ac_cv_lib_rt_clock_gettime" >&6; } if test "x$ac_cv_lib_rt_clock_gettime" = x""yes; then : - LIBS="-lrt $LIBS" $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h |