1
0
mirror of https://git.yoctoproject.org/poky synced 2026-06-01 00:59:48 +00:00
Files
Ross Burton 126f038455 ldconfig-native: don't write auxiliary cache
The auxiliary cache written by ldconfig is only useful for speeding up
future runs of ldconfig, and as it contains inode numbers as the keys
in a dictionary it is entirely pointless to generate on the build host.

(From OE-Core rev: 67c1ceb193130fcb30853c2cd1a6ef33a814886e)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-06 23:17:27 +00:00

20 lines
527 B
Diff

The ldconfig auxiliary cache is a dictionary where the keys include inode, so
there is no point in writing these files on the build host.
Upstream-Status: Inappropriate
Signed-off-by: Ross Burton <ross.burton@arm.com>
diff --git a/ldconfig.c b/ldconfig.c
index 2c4eb57..2d6dc92 100644
--- a/ldconfig.c
+++ b/ldconfig.c
@@ -1399,8 +1399,6 @@ main (int argc, char **argv)
if (opt_build_cache)
{
save_cache (cache_file);
- if (aux_cache_file)
- save_aux_cache (aux_cache_file);
}
return 0;