From a65c012f4563dbfb3c5cda215e6a5782520644a6 Mon Sep 17 00:00:00 2001 From: nhmall Date: Mon, 30 Dec 2024 12:48:52 -0500 Subject: [PATCH] shorten up a Makefile.src line --- sys/unix/Makefile.src | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sys/unix/Makefile.src b/sys/unix/Makefile.src index f21982f66..7532dc098 100644 --- a/sys/unix/Makefile.src +++ b/sys/unix/Makefile.src @@ -764,8 +764,9 @@ $(TARGETPFX)sfstruct.o: sfstruct.c $(HACK_H) # date.c should be recompiled any time any of the source or include code # is modified. +DATECFLAGS = $(TARGET_CFLAGS) $(GITHASH) $(GITBRANCH) $(GITPREFIX) $(TARGETPFX)date.o: date.c $(HACK_H) $(HACKCSRC) $(HOBJ) $(TARGET_HACKLIB) - $(TARGET_CC) $(TARGET_CFLAGS) $(GITHASH) $(GITBRANCH) $(GITPREFIX) -c -o $@ date.c + $(TARGET_CC) $(DATECFLAGS) -c -o $@ date.c # date.h should be remade any time any of the source or include code # is modified. Unfortunately, this would make the contents of this