From 9592773ed84caae01bd23150c52f083c1200092f Mon Sep 17 00:00:00 2001 From: dzwdz Date: Sun, 7 Aug 2022 17:03:30 +0200 Subject: user/libc: port dlmalloc --- Makefile | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'Makefile') diff --git a/Makefile b/Makefile index b38edbd..39b7374 100644 --- a/Makefile +++ b/Makefile @@ -129,6 +129,13 @@ out/obj/user/%.c.o: src/user/%.c @mkdir -p $(@D) @$(CC) $(USER_CFLAGS) -fPIC -c $^ -o $@ +out/obj/user/lib/vendor/%.c.o: src/user/lib/vendor/%.c + @mkdir -p $(@D) + @$(CC) $(USER_CFLAGS) -fPIC -c $^ -o $@ \ + -DLACKS_TIME_H -DLACKS_FCNTL_H -DLACKS_SYS_PARAM_H \ + -DMAP_ANONYMOUS -DHAVE_MORECORE=0 -DNO_MALLOC_H \ + -Wno-expansion-to-defined -Wno-old-style-definition + out/obj/user/bootstrap/%.c.o: src/user/bootstrap/%.c @mkdir -p $(@D) @$(CC) $(USER_CFLAGS) -c $^ -o $@ -- cgit v1.2.3