scc

simple c99 compiler
git clone git://git.simple-cc.org/scc
Log | Files | Refs | Submodules | README | LICENSE

commit 53781df7eb27fc4b198b630afb1e3cefb00cd1e8
parent 28acf8767b996d1354e71c538bd8204b6f1d29c5
Author: Roberto E. Vargas Caballero <k0ga@shike2.com>
Date:   Tue, 29 Oct 2024 15:45:31 +0100

build/libc: Do not chain inference rules

Inference rules are not guaranteed to be chained, and in order
to have a portable Makefile the compilation has to be done  in
an explicit way.

Diffstat:
Msrc/libc/time/Makefile | 5+++--
1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/src/libc/time/Makefile b/src/libc/time/Makefile @@ -17,8 +17,9 @@ OBJS =\ all: $(OBJS) -tz.c: timezone.lst - awk -f gentz.awk $? >$@ +tz.$O: timezone.lst + awk -f gentz.awk $? > tz.c + $(CC) $(PROJ_CFLAGS) -c -o $@ tz.c clean: rm -f tz.c