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.
This commit is contained in:
1 parent
1e1568005e
commit
b7e71a4fef
1 file changed
+2
-1
+2
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user