--- ./buildtools/Makefile.old 2021-12-02 14:52:55.678480738 -0500 +++ ./buildtools/Makefile 2021-12-02 14:53:18.810172048 -0500 @@ -29,17 +29,17 @@ libopt.o: libopt.c $(STRIP_DLL_VERSION) $(EXPLICIT) \ $(CFLAGS_PERSONAL) $(CFLAGS) $(CADD) \ $< typegen.o endiangen.o:%.o:%.c - $(CC_FOR_BUILD) -c -o $@ $(CFLAGS_FOR_BUILD) $< + $(CC_FOR_BUILD) -c -o $@ $(CFLAGS_FOR_BUILD) $(CFLAGS) $< # genfontc is strange because it isn't really a build tool; it's a development # tool. And it uses Netpbm. So we don't even build it by default and the # developer who builds it explicitly may have to be careful. genfontc.o:%.o:%.c importinc - $(CC_FOR_BUILD) -c -o $@ $(CFLAGS_FOR_BUILD) \ + $(CC_FOR_BUILD) -c -o $@ $(CFLAGS_FOR_BUILD) $(CFLAGS) \ $(NETPBM_INCLUDES) \ $< genfontc:%:%.o $(NETPBMLIB) $(LD_FOR_BUILD) -o $@ $(LDFLAGS_FOR_BUILD) $< $(NETPBMLIB) --- ./test/Makefile.old 2021-12-02 14:54:03.928569943 -0500 +++ ./test/Makefile 2021-12-02 14:54:15.347417559 -0500 @@ -13,11 +13,11 @@ PROGS = testrandom OKSTOGENERATE = $(patsubst %.rand-ok, %.ok, $(wildcard *.rand-ok)) all: $(PROGS) $(OKSTOGENERATE) testrandom.o: testrandom.c - $(CC_FOR_BUILD) -c -o $@ $(CFLAGS_FOR_BUILD) $< + $(CC_FOR_BUILD) $(CFLAGS) -c -o $@ $(CFLAGS_FOR_BUILD) $< testrandom: testrandom.o $(LD_FOR_BUILD) -o $@ $(LDFLAGS_FOR_BUILD) $< RAND_VARIETY ?= $(shell ./testrandom -x)