It is a noinst build tool that Term/Makefile.am runs while building
('.../util/lineToData: not found', build/logs/userland-2026-11-14m.log:10978).
Use the same *_FOR_BUILD override as util/tradcpp; automake does not honour
a per-target CC.
Part of the build-tool fixes for tasksd t0170.
Co-authored-by: Iceman Contributor Free <noreply@opencode.ai>
17 lines
561 B
Makefile
17 lines
561 B
Makefile
MAINTAINERCLEANFILES = Makefile.in
|
|
|
|
noinst_PROGRAMS = lineToData
|
|
|
|
# lineToData is a build tool: Term/Makefile.am runs it while building and it
|
|
# must therefore run on the build host, not on the target. automake has no
|
|
# per-target CC override, so replace the generated variables for this sub-make;
|
|
# the top Makefile.am forwards the *_FOR_BUILD values (same as util/tradcpp).
|
|
CC = $(CC_FOR_BUILD)
|
|
CPPFLAGS = $(CPPFLAGS_FOR_BUILD)
|
|
CFLAGS = $(CFLAGS_FOR_BUILD)
|
|
LDFLAGS = $(LDFLAGS_FOR_BUILD)
|
|
|
|
lineToData_CFLAGS = -I../TermPrim
|
|
|
|
lineToData_SOURCES = lineToData.c
|