]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
disable ldconfig during install
authorMike Frysinger <vapier@gentoo.org>
Wed, 1 Apr 2009 06:15:48 +0000 (02:15 -0400)
committerMike Frysinger <vapier@gentoo.org>
Fri, 11 Nov 2016 20:18:46 +0000 (15:18 -0500)
Do not bother running ldconfig on DESTDIR.  It's a waste of time as we
won't use the result (portage will rebuild the cache after install).
Also, the Gentoo sandbox does not currently catch chroot() behavior so
we end up (incorrectly) flagging it as a violation as a write to /etc.

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

Makefile

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