summary refs log tree commit diff
path: root/Makerules
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2004-12-15 18:54:41 +0000
committerUlrich Drepper <drepper@redhat.com>2004-12-15 18:54:41 +0000
commitcbdb12dec1284048430dbd9c354475ddffd7047e (patch)
tree92289c3e645fd213d888e791740a09f7faf2b844 /Makerules
parentf8d8a2650ce753bcc162ccfa55f79a6967c21d06 (diff)
downloadglibc-cbdb12dec1284048430dbd9c354475ddffd7047e.tar.gz
glibc-cbdb12dec1284048430dbd9c354475ddffd7047e.tar.xz
glibc-cbdb12dec1284048430dbd9c354475ddffd7047e.zip
Update.
2004-09-08  H.J. Lu  <hongjiu.lu@intel.com>

	* Makeconfig (libunwind): New.
	(libgcc_eh): Add $(libunwind).
	(gnulib): Always set to -lgcc $(libgcc_eh).
	(static-gnulib): Always set to -lgcc -lgcc_eh $(libunwind).
	(libc.so-gnulib): New.
	* Makerules (LDLIBS-c.so): Use $(libc.so-gnulib) instead of
	$(static-gnulib).
	* configure.in (libc_cv_cc_with_libunwind): Set to yes if gcc
	uses -lunwind for static binaries.
Diffstat (limited to 'Makerules')
-rw-r--r--Makerules4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makerules b/Makerules
index 7c6feb7c1f..5d7b24f31f 100644
--- a/Makerules
+++ b/Makerules
@@ -581,8 +581,8 @@ build-shlib-objlist = $(build-module-helper-objlist) \
 # Also omits crti.o and crtn.o, which we do not want
 # since we define our own `.init' section specially.
 LDFLAGS-c.so = -nostdlib -nostartfiles
-# But we still want to link libc.so against $(static-gnulib).
-LDLIBS-c.so += $(static-gnulib)
+# But we still want to link libc.so against $(libc.so-gnulib).
+LDLIBS-c.so += $(libc.so-gnulib)
 # Give libc.so an entry point and make it directly runnable itself.
 LDFLAGS-c.so += -e __libc_main
 # If lazy relocation is disabled add the -z now flag.