From 1722813295a323c5e79106a094380f5e94206b47 Mon Sep 17 00:00:00 2001 From: Thomas Schwinge Date: Wed, 21 Mar 2012 17:51:08 +0000 Subject: Weaken -fstack-protector 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 dc50c16c72..e131070718 100755 --- a/configure +++ b/configure @@ -6643,23 +6643,17 @@ $as_echo_n "checking for -fstack-protector... " >&6; } if ${libc_cv_ssp+:} 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_ssp=yes else libc_cv_ssp=no fi -rm -f conftest* + fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_ssp" >&5 $as_echo "$libc_cv_ssp" >&6; } -- cgit 1.4.1