From: Ulrich Drepper Date: Wed, 10 Dec 2003 22:27:45 +0000 (+0000) Subject: (gnulib): If have-cc-withh-libunwind is "yes", also mention -lunwind. X-Git-Tag: cvs/ChangeLog~168 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=26b30508e02c05d506295954d453d797e0c23cb5;p=thirdparty%2Fglibc.git (gnulib): If have-cc-withh-libunwind is "yes", also mention -lunwind. --- diff --git a/Makeconfig b/Makeconfig index 8035572b793..03352ffc3ff 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)