about summary refs log tree commit diff
path: root/nptl/Makefile
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 /nptl/Makefile
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 'nptl/Makefile')
-rw-r--r--nptl/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/nptl/Makefile b/nptl/Makefile
index 484824fea6..a90c4ad2d7 100644
--- a/nptl/Makefile
+++ b/nptl/Makefile
@@ -332,7 +332,8 @@ CFLAGS-flockfile.c = -D_IO_MTSAFE_IO
 CFLAGS-ftrylockfile.c = -D_IO_MTSAFE_IO
 CFLAGS-funlockfile.c = -D_IO_MTSAFE_IO
 
-link-libc-static := $(common-objpfx)libc.a $(gnulib) $(common-objpfx)libc.a
+link-libc-static := $(common-objpfx)libc.a $(static-gnulib) \
+		    $(common-objpfx)libc.a
 
 ifeq ($(build-static),yes)
 tests-static += tst-locale1 tst-locale2