about summary refs log tree commit diff
diff options
context:
space:
mode:
-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