about summary refs log tree commit diff
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2003-12-10 22:27:45 +0000
committerUlrich Drepper <drepper@redhat.com>2003-12-10 22:27:45 +0000
commit26b30508e02c05d506295954d453d797e0c23cb5 (patch)
tree5f153c6cf1097bcaf812fab6479b97fc755840db
parent8b4615ccd8a4411385a248ce5f462e339fc438be (diff)
downloadglibc-26b30508e02c05d506295954d453d797e0c23cb5.tar.gz
glibc-26b30508e02c05d506295954d453d797e0c23cb5.tar.xz
glibc-26b30508e02c05d506295954d453d797e0c23cb5.zip
(gnulib): If have-cc-withh-libunwind is "yes", also mention -lunwind.
-rw-r--r--Makeconfig6
1 files changed, 5 insertions, 1 deletions
diff --git a/Makeconfig b/Makeconfig
index 8035572b79..03352ffc3f 100644
--- a/Makeconfig
+++ b/Makeconfig
@@ -511,7 +511,11 @@ link-libc-bounded = $(common-objpfx)libc_b.a $(gnulib) $(common-objpfx)libc_b.a
 link-extra-libs-bounded = $(foreach lib,$(LDLIBS-$(@F:%-bp=%)),$(common-objpfx)$(lib)_b.a)
 
 ifndef gnulib
-gnulib := -lgcc -lgcc_eh
+ifneq ($(have-cc-with-libunwind),yes)
+ gnulib := -lgcc -lgcc_eh
+else
+ gnulib := -lgcc -lgcc_eh -lunwind
+endif
 endif
 ifeq ($(elf),yes)
 +preinit = $(addprefix $(csu-objpfx),crti.o)