From b7e71a4fefbdf3da5f1b79f60e7da0acc9ad2add Mon Sep 17 00:00:00 2001 From: lotherk Date: Sat, 14 Nov 2026 07:42:52 +0000 Subject: [PATCH] mcde: AM_MAKEFLAGS forwards KSH_CC to the sub-makes The recipe gives the top-level make KSH_CC (the compiler wrapper's path for dtksh's ksh93), but programs/dtksh is a sub-make and did not see it: the rule ran without the argument and bin/package stopped again at 'cc: not found -- set CC=C-compiler' (build/logs/userland-2026-11-14-finish2.log:16461). The other host-tool variables are forwarded here for the same reason. --- Makefile.am | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile.am b/Makefile.am index 4d75567f..ba1dca9e 100644 --- a/Makefile.am +++ b/Makefile.am @@ -22,7 +22,8 @@ AM_MAKEFLAGS = CC_FOR_BUILD='$(CC_FOR_BUILD)' \ CPPFLAGS_FOR_BUILD='$(CPPFLAGS_FOR_BUILD)' \ LDFLAGS_FOR_BUILD='$(LDFLAGS_FOR_BUILD)' \ LIBS_FOR_BUILD='$(LIBS_FOR_BUILD)' \ - AR_FOR_BUILD='$(AR_FOR_BUILD)' RANLIB_FOR_BUILD='$(RANLIB_FOR_BUILD)' + AR_FOR_BUILD='$(AR_FOR_BUILD)' RANLIB_FOR_BUILD='$(RANLIB_FOR_BUILD)' \ + KSH_CC='$(KSH_CC)' if BUILD_DOCS SUBDIRS += doc