about summary refs log tree commit diff
path: root/nptl
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2003-07-03 22:34:29 +0000
committerUlrich Drepper <drepper@redhat.com>2003-07-03 22:34:29 +0000
commita916cb664b5b0e3287ae7b11e5d9410efc2856df (patch)
tree1eddefe6a4d1c736ce4ea102769310c0afe5d344 /nptl
parentfbd90f6c25ad26706dee0898d6eaca40881852f9 (diff)
downloadglibc-a916cb664b5b0e3287ae7b11e5d9410efc2856df.tar.gz
glibc-a916cb664b5b0e3287ae7b11e5d9410efc2856df.tar.xz
glibc-a916cb664b5b0e3287ae7b11e5d9410efc2856df.zip
CFI is only really required (so far) for x86 and hammer.
Diffstat (limited to 'nptl')
-rw-r--r--nptl/sysdeps/pthread/configure.in5
1 files changed, 4 insertions, 1 deletions
diff --git a/nptl/sysdeps/pthread/configure.in b/nptl/sysdeps/pthread/configure.in
index e0fb10b67c..4fa9b5db2c 100644
--- a/nptl/sysdeps/pthread/configure.in
+++ b/nptl/sysdeps/pthread/configure.in
@@ -6,7 +6,10 @@ if test "x$libc_cv_gcc___thread" != xyes; then
 fi
 
 if test "x$libc_cv_asm_cfi_directives" != xyes; then
-  AC_MSG_ERROR(CFI directive support in assembler is required)
+  dnl We need this only for some architectures.
+  if test "x$base_machine" = xi386 || test "x$base_machine" = "xx86_86"; then
+    AC_MSG_ERROR(CFI directive support in assembler is required)
+  fi
 fi
 
 dnl Iff <unwind.h> is available, make sure it is the right one and it