Files
mcde/util
lotherkandIceman Contributor Free c004331d56 mcde: tradcpp is linked by the build host's compiler
tradcpp_CC/CFLAGS/LDFLAGS are not per-target variables automake honours,
so the generated Makefile still used the target compiler: the tool was a
NetBSD ELF and every build stopped at
'/bin/sh: ../../../../util/tradcpp/tradcpp: not found'
(build/logs/userland-2026-11-14k.log:7697).  Override the generated CC,
CPPFLAGS, CFLAGS and LDFLAGS for this build-tool sub-make with the
*_FOR_BUILD values the top Makefile.am already forwards.

Verified in the work directory: automake emits CC = $(CC_FOR_BUILD); a
host-cc build of the same objects is a Linux ELF and preprocesses -DX=1
to 1.

Fixes the remaining wm/mcde build stop (tasksd t0170).

Co-authored-by: Iceman Contributor Free <noreply@opencode.ai>
2026-11-14 06:57:33 +00:00
..