about summary refs log tree commit diff
path: root/configure
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2006-10-29 22:41:06 +0000
committerUlrich Drepper <drepper@redhat.com>2006-10-29 22:41:06 +0000
commit536e40e287df5438683e78e64867009f7a0d2698 (patch)
treef443ca0944428ed3897bb2fdebdeb8bbbdf80f58 /configure
parent6e6278064ab5f08b5e920f9f74b33cb2b7f42925 (diff)
downloadglibc-536e40e287df5438683e78e64867009f7a0d2698.tar.gz
glibc-536e40e287df5438683e78e64867009f7a0d2698.tar.xz
glibc-536e40e287df5438683e78e64867009f7a0d2698.zip
* configure.in: Relax -z relro requirement a bit. cvs/fedora-glibc-20061029T2155
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure7
1 files changed, 6 insertions, 1 deletions
diff --git a/configure b/configure
index b04bf8b71d..c9d321abd1 100755
--- a/configure
+++ b/configure
@@ -5650,12 +5650,17 @@ else
   (exit $ac_status); }; }
     then
       libc_cv_z_relro=yes
+    else
+      case "$base_machine" in
+        i3456786 | x86_64 | powerpc* | s390* | sparc* | alpha*) ;;
+	*) libc_cv_z_relro="not required" ;;
+      esac
     fi
   fi
 fi
 echo "$as_me:$LINENO: result: $libc_cv_z_relro" >&5
 echo "${ECHO_T}$libc_cv_z_relro" >&6
-  if test $libc_cv_z_relro != yes; then
+  if test $libc_cv_z_relro = no; then
     { { echo "$as_me:$LINENO: error: linker with -z relro support required" >&5
 echo "$as_me: error: linker with -z relro support required" >&2;}
    { (exit 1); exit 1; }; }