Skip to content
This repository was archived by the owner on Feb 8, 2024. It is now read-only.

Commit 148608b

Browse files
WalterBrightdlang-bot
authored andcommitted
compile src/rt/*.c with ImportC
1 parent f02114e commit 148608b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

posix.mak

+2-2
Original file line numberDiff line numberDiff line change
@@ -350,9 +350,9 @@ $(DMD):
350350

351351
################### C/ASM Targets ############################
352352

353-
$(ROOT)/%.o : src/rt/%.c
353+
$(ROOT)/%.o : src/rt/%.c $(DMD)
354354
@mkdir -p $(dir $@)
355-
$(CC) -c $(CFLAGS) $< -o$@
355+
$(DMD) -c $(DFLAGS) -I. -v $< -of$@
356356

357357
$(ROOT)/errno_c.o : src/core/stdc/errno.c $(DMD)
358358
@mkdir -p $(dir $@)

0 commit comments

Comments
 (0)