]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Clean up *objdir variables.
authorRoland McGrath <roland@hack.frob.com>
Fri, 28 Sep 2012 20:58:55 +0000 (13:58 -0700)
committerRoland McGrath <roland@hack.frob.com>
Fri, 28 Sep 2012 20:58:55 +0000 (13:58 -0700)
ChangeLog
Makeconfig

index 5fcf34da4a1fe54b4c16ac3b4e73d3d3aa3280a4..7108c3c171af98e65b4684a98e32d7ee67edc0b6 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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
index e96ebc7e96f17c6ee3965cb4aff16cd07afdacbc..6a54bf32f6cf778760e7c823609f4cf23da7b97e 100644 (file)
@@ -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)