diff options
author | aldot <aldot@138bc75d-0d04-0410-961f-82ee72b054a4> | 2008-01-27 16:43:07 +0000 |
---|---|---|
committer | aldot <aldot@138bc75d-0d04-0410-961f-82ee72b054a4> | 2008-01-27 16:43:07 +0000 |
commit | e214b63586890d5c00bad1cf9a254f9128c00849 (patch) | |
tree | a76f0f92a7bbfae9237dd6348286aedc522d72dc /gcc/configure | |
parent | c8d35c3cd3f3f783710c0f4917b3b52c7a4b119f (diff) | |
download | gcc-e214b63586890d5c00bad1cf9a254f9128c00849.tar.gz |
2008-01-27 Bernhard Fischer <aldot@gcc.gnu.org>
* configure.ac (__stack_chk_fail): Add detecion for availability
of SSP in uClibc by checking if __UCLIBC_HAS_SSP__ is defined.
* configure: Regenerate.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@131884 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/configure')
-rwxr-xr-x | gcc/configure | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/gcc/configure b/gcc/configure index 034bfad2bab..5581fd628d2 100755 --- a/gcc/configure +++ b/gcc/configure @@ -16662,8 +16662,14 @@ else && $EGREP '^[ ]*#[ ]*define[ ]+__GLIBC_MINOR__[ ]+([1-9][0-9]|[4-9])' \ $glibc_header_dir/features.h > /dev/null; then gcc_cv_libc_provides_ssp=yes + elif $EGREP '^[ ]*#[ ]*define[ ]+__UCLIBC__[ ]+1' \ + $glibc_header_dir/features.h > /dev/null && \ + test -f $glibc_header_dir/bits/uClibc_config.h && \ + $EGREP '^[ ]*#[ ]*define[ ]+__UCLIBC_HAS_SSP__[ ]+1' \ + $glibc_header_dir/bits/uClibc_config.h > /dev/null; then + gcc_cv_libc_provides_ssp=yes fi - fi + fi ;; *-*-darwin*) echo "$as_me:$LINENO: checking for __stack_chk_fail" >&5 |