in https://gcc.gnu.org/pipermail/gcc-patches/2024-January/641619.html
there are two typos in the patch, compared to the local Debian patch,
- the subst macro has an additional parameter
- the multilib subdirs are not subdirs in lib, but have
their multilib suffix attached to lib.
ok for the trunk?
Matthias
diff --git a/config-ml.in b/config-ml.in
index 645cac822fd..be8134b7eb1 100644
--- a/config-ml.in
+++ b/config-ml.in
@@ -517,8 +517,7 @@ multi-do:
libsuffix_=`$${compiler} $${flags} --print-multi-os-directory`; \
if (cd ../$${dir}/$${lib}; $(MAKE) $(subst \
-B$(build_tooldir)/lib/, \
- -B$(build_tooldir)/lib/$${libsuffix_}/ \
- -B$(build_tooldir)/lib/, \
+ -B$(build_tooldir)/lib$${libsuffix_}/ \
$(FLAGS_TO_PASS)) \
CFLAGS="$(CFLAGS) $${flags}" \
CCASFLAGS="$(CCASFLAGS) $${flags}" \