summary refs log tree commit diff
path: root/Makeconfig
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2004-05-09 17:30:53 +0000
committerUlrich Drepper <drepper@redhat.com>2004-05-09 17:30:53 +0000
commitcdbf48bed66758a785695faef64d44ef96ffa372 (patch)
tree3067d81caedde742315ae3d0d206269799371788 /Makeconfig
parentf32d2b81c2fe62c7a4e2fab3290c79cdedfae5d0 (diff)
downloadglibc-cdbf48bed66758a785695faef64d44ef96ffa372.tar.gz
glibc-cdbf48bed66758a785695faef64d44ef96ffa372.tar.xz
glibc-cdbf48bed66758a785695faef64d44ef96ffa372.zip
Update.
2004-05-08  Jakub Jelinek  <jakub@redhat.com>

	* configure.in (libc_cv_libgcc_s_suffix): New check.
	(libc_cv_as_needed): Use -lgcc_s$libc_cv_libgcc_s_suffix.
	* config.make.in (libgcc_s_suffix): Set.
	* Makeconfig (libgcc_eh): Use -lgcc_s$(libgcc_s_suffix).
Diffstat (limited to 'Makeconfig')
-rw-r--r--Makeconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makeconfig b/Makeconfig
index ce84c75624..5a9f068f11 100644
--- a/Makeconfig
+++ b/Makeconfig
@@ -520,7 +520,7 @@ ifndef gnulib
 ifneq ($(have-as-needed),yes)
  libgcc_eh := -lgcc_eh
 else
- libgcc_eh := -Wl,--as-needed -lgcc_s -Wl,--no-as-needed
+ libgcc_eh := -Wl,--as-needed -lgcc_s$(libgcc_s_suffix) -Wl,--no-as-needed
 endif
 ifneq ($(have-cc-with-libunwind),yes)
  gnulib := -lgcc $(libgcc_eh)