aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.6/gcc/configure
diff options
context:
space:
mode:
Diffstat (limited to 'gcc-4.6/gcc/configure')
-rwxr-xr-xgcc-4.6/gcc/configure5
1 files changed, 5 insertions, 0 deletions
diff --git a/gcc-4.6/gcc/configure b/gcc-4.6/gcc/configure
index 19701575d..240905cc5 100755
--- a/gcc-4.6/gcc/configure
+++ b/gcc-4.6/gcc/configure
@@ -25942,6 +25942,11 @@ else
$target_header_dir/bits/uClibc_config.h > /dev/null; then
gcc_cv_libc_provides_ssp=yes
fi
+ # all versions of Bionic support stack protector
+ elif test -f $target_header_dir/sys/cdefs.h \
+ && $EGREP '^[ ]*#[ ]*define[ ]+__BIONIC__[ ]+1' \
+ $target_header_dir/sys/cdefs.h > /dev/null; then
+ gcc_cv_libc_provides_ssp=yes
fi
;;
*-*-gnu*)