about summary refs log tree commit diff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2009-04-01 02:15:48 -0400
committerMike Frysinger <vapier@gentoo.org>2016-11-11 15:18:46 -0500
commitdf75883953dfaacca6cd6f26e53b4254db58e744 (patch)
treeb8458a0076fe4d710e7f84cb46383886ecef2d09
parent822305be765e0ae130820632e865d61710dc2746 (diff)
downloadglibc-df75883953dfaacca6cd6f26e53b4254db58e744.tar.gz
glibc-df75883953dfaacca6cd6f26e53b4254db58e744.tar.xz
glibc-df75883953dfaacca6cd6f26e53b4254db58e744.zip
disable ldconfig during install
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
-rw-r--r--Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 32748b3d2e..01a6b24488 100644
--- 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)