diff options
Diffstat (limited to 'gcc/configure')
| -rwxr-xr-x | gcc/configure | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/gcc/configure b/gcc/configure index 4dd9faa..f1a6b62 100755 --- a/gcc/configure +++ b/gcc/configure @@ -24823,7 +24823,11 @@ else $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; } then - gcc_cv_as_ix86_tlsgdplt=yes + if test x$gcc_cv_ld != x \ + && $gcc_cv_ld -o conftest conftest.o -G > /dev/null 2>&1; then + gcc_cv_as_ix86_tlsgdplt=yes + fi + rm -f conftest else echo "configure: failed program was" >&5 cat conftest.s >&5 @@ -24854,7 +24858,11 @@ else $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; } then - gcc_cv_as_ix86_tlsldmplt=yes + if test x$gcc_cv_ld != x \ + && $gcc_cv_ld -o conftest conftest.o -G > /dev/null 2>&1; then + gcc_cv_as_ix86_tlsldmplt=yes + fi + rm -f conftest else echo "configure: failed program was" >&5 cat conftest.s >&5 |
