CFI is only really required (so far) for x86 and hammer.
authorUlrich Drepper <drepper@redhat.com>
Thu, 3 Jul 2003 22:34:29 +0000 (22:34 +0000)
committerUlrich Drepper <drepper@redhat.com>
Thu, 3 Jul 2003 22:34:29 +0000 (22:34 +0000)
nptl/sysdeps/pthread/configure.in

index e0fb10b..4fa9b5d 100644 (file)
@@ -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