diff options
author | Igor Zamyatin <igor.zamyatin@intel.com> | 2012-05-16 09:59:04 +0000 |
---|---|---|
committer | Kirill Yukhin <kirill.yukhin@intel.com> | 2012-05-16 09:59:04 +0000 |
commit | fbff4a15e969c89e3ab56cc01c0b134f9e085f45 (patch) | |
tree | 6afb2cc9812566f23ee32114bc130b6e3a14a044 /gcc/configure | |
parent | 1d56a003c3a02cce84a6d568865403447d66c5e4 (diff) |
* configure.ac: Stack protector enabling for Android targets.
* configure: Regenerate.
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@187586 138bc75d-0d04-0410-961f-82ee72b054a4
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*) |