aboutsummaryrefslogtreecommitdiff
path: root/Makerules
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2003-01-05 10:21:08 +0000
committerUlrich Drepper <drepper@redhat.com>2003-01-05 10:21:08 +0000
commita7f7b879fbe6fb58b670ad41d2b6e40f14730cb8 (patch)
treeb493b5343001aceb80acb48eebe7738c23a66e6a /Makerules
parent00e58701f31f8628106948aa6486487ed89ece52 (diff)
downloadglibc-a7f7b879fbe6fb58b670ad41d2b6e40f14730cb8.tar
glibc-a7f7b879fbe6fb58b670ad41d2b6e40f14730cb8.tar.gz
glibc-a7f7b879fbe6fb58b670ad41d2b6e40f14730cb8.tar.bz2
glibc-a7f7b879fbe6fb58b670ad41d2b6e40f14730cb8.zip
Update.
2003-01-04 Jakub Jelinek <jakub@redhat.com> * internals.h (LIBC_THREAD_GETMEM, LIBC_THREAD_SETMEM): Define even if NOT_IN_libc is defined.
Diffstat (limited to 'Makerules')
-rw-r--r--Makerules5
1 files changed, 3 insertions, 2 deletions
diff --git a/Makerules b/Makerules
index ce208d3f64..dca6d0e6c1 100644
--- a/Makerules
+++ b/Makerules
@@ -1,4 +1,4 @@
-# Copyright (C) 1991-1999,2000,01,02 Free Software Foundation, Inc.
+# Copyright (C) 1991-2002, 2003 Free Software Foundation, Inc.
# This file is part of the GNU C Library.
# The GNU C Library is free software; you can redistribute it and/or
@@ -459,7 +459,8 @@ endif
ifeq ($(elf),yes)
define build-shlib-helper
-$(LINK.o) -shared $(static-libgcc) -Wl,-O1 $(sysdep-LDFLAGS) $(config-LDFLAGS) \
+$(LINK.o) -shared $(static-libgcc) -Wl,-O1 $(sysdep-LDFLAGS) \
+ $(if $($(@F)-no-z-defs),,-Wl,-z,defs) $(config-LDFLAGS) \
$(extra-B-$(@F:lib%.so=%).so) -B$(csu-objpfx) \
$(extra-B-$(@F:lib%.so=%).so) $(load-map-file) \
-Wl,-soname=lib$(libprefix)$(@F:lib%.so=%).so$($(@F)-version) \