From 4da0431d5f4d9c88d476d1209849ff5344345021 Mon Sep 17 00:00:00 2001 From: Joseph Myers Date: Wed, 30 May 2012 09:50:40 +0000 Subject: Weaken PIE configure test to a compile test. --- configure | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) (limited to 'configure') diff --git a/configure b/configure index c92d4a5126..4d5d9e49f9 100755 --- a/configure +++ b/configure @@ -6490,23 +6490,17 @@ $as_echo_n "checking for -fpie... " >&6; } if ${libc_cv_fpie+:} false; then : $as_echo_n "(cached) " >&6 else - cat > conftest.c <&5 (eval $ac_try) 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 - test $ac_status = 0; }; } -then + test $ac_status = 0; }; }; then : libc_cv_fpie=yes else libc_cv_fpie=no fi -rm -f conftest* + fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_fpie" >&5 $as_echo "$libc_cv_fpie" >&6; } -- cgit 1.4.1