summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2021-08-03 00:34:59 +0200
committerAndreas K. Hüttel <dilfridge@gentoo.org>2023-07-31 22:14:20 +0200
commite6c168146be4790fcf80dda1076b38fe7fdfe45d (patch)
tree0237e5245459a871d4657c7fee89d491f2473159
parentNEWS: Fix typos (diff)
downloadglibc-e6c168146be4790fcf80dda1076b38fe7fdfe45d.tar.gz
glibc-e6c168146be4790fcf80dda1076b38fe7fdfe45d.tar.bz2
glibc-e6c168146be4790fcf80dda1076b38fe7fdfe45d.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 Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
-rw-r--r--Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index c6d4817a9e..2749e7aaaf 100644
--- a/Makefile
+++ b/Makefile
@@ -110,6 +110,7 @@ elf/ldso_install:
ifeq (no,$(cross-compiling))
ifeq (yes,$(build-shared))
install:
+dont-bother-with-destdir:
-test ! -x $(elf-objpfx)ldconfig || LC_ALL=C \
$(elf-objpfx)ldconfig $(addprefix -r ,$(install_root)) \
$(slibdir) $(libdir)