diff options
author | dzwdz | 2022-08-07 17:03:30 +0200 |
---|---|---|
committer | dzwdz | 2022-08-07 17:03:30 +0200 |
commit | 9592773ed84caae01bd23150c52f083c1200092f (patch) | |
tree | ad4c786388492514193f4c684ecec2f9a8dc9187 /Makefile | |
parent | b962cd6062a08c063e6b10afaaa930956ee99e2d (diff) |
user/libc: port dlmalloc
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -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 $@ |