This needs to be done to create /etc/ld.so.conf
@ -100,7 +100,7 @@ pkg_glibc_abi_preconf() {
"sed -e 's,.*usr/include/.*\.h,/tmp/removed.h,'"
else
# only run postmake while building the default ABI
if atstage native; then
if ! atstage toolchain; then
hook_add postmake 5 'pkg_glibc_postmake'
fi