diff options
author | Igor Zamyatin <igor.zamyatin@intel.com> | 2012-05-16 09:59:04 +0000 |
---|---|---|
committer | Kirill Yukhin <kyukhin@gcc.gnu.org> | 2012-05-16 09:59:04 +0000 |
commit | 40295cc722ce5ea0b7ba7b3cb91f6accce0db518 (patch) | |
tree | 6afb2cc9812566f23ee32114bc130b6e3a14a044 /gcc/configure | |
parent | a224c148713269cc3bb6dbac45b38fe0e5148a2f (diff) | |
download | gcc-40295cc722ce5ea0b7ba7b3cb91f6accce0db518.tar.gz |
configure.ac: Stack protector enabling for Android targets.
* configure.ac: Stack protector enabling for Android targets.
* configure: Regenerate.
From-SVN: r187586
Diffstat (limited to 'gcc/configure')
-rwxr-xr-x | gcc/configure | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gcc/configure b/gcc/configure index 557a4cc794d..4f43eaa7e51 100755 --- a/gcc/configure +++ b/gcc/configure @@ -26657,6 +26657,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*) |