]> 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>
Sat, 8 Feb 2014 14:20:51 +0000 (09:20 -0500)
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 51d4690377af160ea17e11d218456da71b4a64b9..65f6cbef5ef324f0a54f2c675291350f1839ffd6 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)