]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
disable ldconfig during install
authorMike Frysinger <vapier@gentoo.org>
Sat, 4 May 2013 18:07:11 +0000 (14:07 -0400)
committerMike Frysinger <vapier@gentoo.org>
Fri, 16 Aug 2013 19:13:08 +0000 (15:13 -0400)
do not bother running ldconfig on DESTDIR.  it wants to write the temp cache
file outside of the chroot.  doesnt matter anyways as we wont use the cache
results (portage will rebuild cache), so running ldconfig is simply a waste
of time.

http://sourceware.org/ml/libc-alpha/2012-08/msg00118.html
https://bugs.gentoo.org/431038

Makefile

index 7d8eccf2e56874f2e9901e136c067abcb0c808d2..0c92e4f27f3f90db5b24e091db69dbd4f9708d0a 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -105,6 +105,7 @@ install-symbolic-link: subdir_install
        rm -f $(symbolic-link-list)
 
 install:
+dont-bother-with-destdir:
        -test ! -x $(common-objpfx)elf/ldconfig || LC_ALL=C LANGUAGE=C \
          $(common-objpfx)elf/ldconfig $(addprefix -r ,$(install_root)) \
                                       $(slibdir) $(libdir)