diff options
author | Roland McGrath <roland@hack.frob.com> | 2012-09-28 13:58:55 -0700 |
---|---|---|
committer | Roland McGrath <roland@hack.frob.com> | 2012-09-28 13:58:55 -0700 |
commit | cc87f7d8511e6ca777211abea0bf979138c4c60d (patch) | |
tree | a0095a00417ad49b536c1bc7ce9f6ea9b9597327 | |
parent | b1c608fe20672fe645cd171e89195b4a00914db1 (diff) | |
download | glibc-cc87f7d8511e6ca777211abea0bf979138c4c60d.zip glibc-cc87f7d8511e6ca777211abea0bf979138c4c60d.tar.gz glibc-cc87f7d8511e6ca777211abea0bf979138c4c60d.tar.bz2 |
Clean up *objdir variables.
-rw-r--r-- | ChangeLog | 3 | ||||
-rw-r--r-- | Makeconfig | 5 |
2 files changed, 5 insertions, 3 deletions
@@ -1,5 +1,8 @@ 2012-09-28 Roland McGrath <roland@hack.frob.com> + * Makeconfig (nssobjdir, resolvobjdir): Remove variables. + (elfobjdir): Move out of conditionals. + * nss/nsswitch.c (nss_new_service): Conditionalize definition and declaration on [!DO_STATIC_NSS || SHARED], matching its only caller. (__nss_lookup_function): Conditionalize label remove_from_tree on @@ -494,15 +494,14 @@ link-libc-tests = $(link-libc-before-gnulib) $(gnulib-tests) rpath-dirs = math elf dlfcn nss nis rt resolv crypt rpath-link = \ $(common-objdir):$(subst $(empty) ,:,$(patsubst ../$(subdir),.,$(rpath-dirs:%=$(common-objpfx)%))) -elfobjdir := $(patsubst ../$(subdir),.,$(common-objpfx)elf) else -nssobjdir := $(patsubst ../$(subdir),.,$(common-objpfx)nss) -resolvobjdir := $(patsubst ../$(subdir),.,$(common-objpfx)resolv) link-libc = $(common-objpfx)libc.a $(otherlibs) $(gnulib) $(common-objpfx)libc.a $(gnulib) link-libc-tests = $(common-objpfx)libc.a $(otherlibs) $(gnulib-tests) $(common-objpfx)libc.a $(gnulib-tests) endif endif +elfobjdir := $(patsubst ../$(subdir),.,$(common-objpfx)elf) + # Differences in the linkers on the various platforms. LDFLAGS-rpath-ORIGIN = -Wl,-rpath,'$$ORIGIN' LDFLAGS-soname-fname = -Wl,-soname,$(@F) |