about summary refs log tree commit diff
path: root/Makerules
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2004-04-03 08:53:24 +0000
committerUlrich Drepper <drepper@redhat.com>2004-04-03 08:53:24 +0000
commitfeca5e0be0d18ed2987fe714e1410673d62507db (patch)
tree47c15f90748ccc43159e646f0e22dc066a44e6f7 /Makerules
parent08c9a553c723f301d044062e72871c8d9e6fa510 (diff)
downloadglibc-feca5e0be0d18ed2987fe714e1410673d62507db.tar.gz
glibc-feca5e0be0d18ed2987fe714e1410673d62507db.tar.xz
glibc-feca5e0be0d18ed2987fe714e1410673d62507db.zip
Update.
2004-03-30  H.J. Lu  <hongjiu.lu@intel.com>

	* Makeconfig (link-libc-static): Use $(static-gnulib) instead
	of $(gnulib).
	(libgcc_eh): New variable.
	(gnulib): Use it variable.
	(static-gnulib): New variable.
	* Makerules (LDLIBS-c.so): Use $(static-gnulib) instead of $(gnulib).
	* config.make.in (have-as-needed): New variable.
	* configure.in: Check if linker supports --as-needed.
Diffstat (limited to 'Makerules')
-rw-r--r--Makerules4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makerules b/Makerules
index a0eb30a557..72ce04a7e9 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 $(gnulib).
-LDLIBS-c.so += $(gnulib)
+# But we still want to link libc.so against $(static-gnulib).
+LDLIBS-c.so += $(static-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.