aboutsummaryrefslogtreecommitdiff
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
parentfbd90f6c25ad26706dee0898d6eaca40881852f9 (diff)
downloadglibc-a916cb664b5b0e3287ae7b11e5d9410efc2856df.zip
glibc-a916cb664b5b0e3287ae7b11e5d9410efc2856df.tar.gz
glibc-a916cb664b5b0e3287ae7b11e5d9410efc2856df.tar.bz2
CFI is only really required (so far) for x86 and hammer.
-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 e0fb10b..4fa9b5d 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