diff options
author | Ulrich Drepper <drepper@redhat.com> | 2006-10-29 22:41:06 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2006-10-29 22:41:06 +0000 |
commit | 536e40e287df5438683e78e64867009f7a0d2698 (patch) | |
tree | f443ca0944428ed3897bb2fdebdeb8bbbdf80f58 /configure.in | |
parent | 6e6278064ab5f08b5e920f9f74b33cb2b7f42925 (diff) | |
download | glibc-536e40e287df5438683e78e64867009f7a0d2698.tar.gz |
* configure.in: Relax -z relro requirement a bit.cvs/fedora-glibc-20061029T2155
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/configure.in b/configure.in index fb43804b1f..ca795c4486 100644 --- a/configure.in +++ b/configure.in @@ -1444,9 +1444,14 @@ EOF if AC_TRY_COMMAND([${CC-cc} -Wl,--verbose 2>&1|grep DATA_SEGMENT_RELRO_END 1>&AS_MESSAGE_LOG_FD]) then libc_cv_z_relro=yes + else + case "$base_machine" in + i[34567]86 | x86_64 | powerpc* | s390* | sparc* | alpha*) ;; + *) libc_cv_z_relro="not required" ;; + esac fi fi]) - if test $libc_cv_z_relro != yes; then + if test "$libc_cv_z_relro" = no; then AC_MSG_ERROR(linker with -z relro support required) fi |