From 762087c8be0f5fad9241d2424f62dca72f7322a1 Mon Sep 17 00:00:00 2001 From: zrj Date: Sat, 26 May 2018 12:44:57 +0300 Subject: [PATCH] Makefile.inc1: Reduce strict ordering for libc. Mark lib/csu as a hard dep for lib/libc (needed only for libc.so link). Even if lib/libc_rtld is not strictly needed to be handled at all in Makefile.inc1 (its _pic.a archive only used by libexec/rtld-elf), having it here is not a big issue since both libc and libc_rtld spend a lot of time in make depend and running those in parallel helps somewhat. --- Makefile.inc1 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile.inc1 b/Makefile.inc1 index 9f61dfddae..e8d50b73d7 100644 --- a/Makefile.inc1 +++ b/Makefile.inc1 @@ -1073,6 +1073,7 @@ _startup_libs_alt+= _startup_libs80 .endif _startup_libs= lib/csu lib/libc lib/libc_rtld +lib/libc__L: lib/csu__L _prebuild_libs= lib/libbz2 lib/libz _prebuild_libs+= lib/libutil @@ -1140,7 +1141,7 @@ _generic_libs: ${_generic_libs:S/$/__L/} .ORDER: ${${_alib}:C/$/__L/} .endfor .ORDER: ${_startup_libs50:S/$/__L/} -.ORDER: ${_startup_libs:S/$/__L/} +#.ORDER: ${_startup_libs:S/$/__L/} .ORDER: ${_prebuild_libs:S/$/__L/} .ORDER: ${_generic_libs:S/$/__L/} -- 2.41.0