summaryrefslogtreecommitdiff
path: root/sysdeps/generic/Makefile
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2002-03-24 01:55:18 +0000
committerRoland McGrath <roland@gnu.org>2002-03-24 01:55:18 +0000
commit971174429db1b053f79074021a17b7c375adfd9e (patch)
treeb4eddf7ac03ceb85f4edc1b7a5c8258364aba464 /sysdeps/generic/Makefile
parent7bae44c46f508379ec1d0f1fa1a09aca2de47ae1 (diff)
2002-03-23 Roland McGrath <roland@frob.com>
* sysdeps/mach/hurd/i386/Makefile (sysdep_routines, shared-only-routines): Don't add framestate, reverting 2001-10-02 change. * sysdeps/unix/sysv/linux/arm/Makefile: Likewise. * sysdeps/unix/sysv/linux/alpha/Makefile: Likewise. * sysdeps/unix/sysv/linux/i386/Makefile: Likewise. * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise. * sysdeps/unix/sysv/linux/mips/Makefile: Likewise. * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise. * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Likewise. * sysdeps/unix/sysv/linux/sparc/Makefile: Likewise. * sysdeps/generic/Makefile (sysdep_routines, shared-only-routines): Do it here instead, only if [$(unwind-find-fde) = yes].
Diffstat (limited to 'sysdeps/generic/Makefile')
-rw-r--r--sysdeps/generic/Makefile10
1 files changed, 9 insertions, 1 deletions
diff --git a/sysdeps/generic/Makefile b/sysdeps/generic/Makefile
index 980fc42fb0..b9ee959c5e 100644
--- a/sysdeps/generic/Makefile
+++ b/sysdeps/generic/Makefile
@@ -1,4 +1,4 @@
-# Copyright (C) 1992,93,94,95,96,97,99 Free Software Foundation, Inc.
+# Copyright (C) 1992,93,94,95,96,97,99,2002 Free Software Foundation, Inc.
# This file is part of the GNU C Library.
# The GNU C Library is free software; you can redistribute it and/or
@@ -34,3 +34,11 @@ endif
ifeq ($(subdir),string)
CFLAGS-wordcopy.c += -Wno-uninitialized
endif
+
+ifeq ($(subdir),elf)
+ifeq (yes:yes,$(build-shared):$(unwind-find-fde))
+# This is needed to support g++ v2 and v3.
+sysdep_routines += framestate
+shared-only-routines += framestate
+endif
+endif