Skip to content

Commit 29e14a0

Browse files
ericktbrson
authored andcommitted
Fix compiling the fuzzer.
1 parent ac743cf commit 29e14a0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mk/fuzzer.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ stage2/fuzzer.o: $(FUZZER_CRATE) $(FUZZER_INPUTS) $(SREQ1) \
1212

1313
stage2/fuzzer$(X): stage2/fuzzer.o $(SREQ1)
1414
@$(call E, link [gcc]: $@)
15-
$(Q)gcc $(CFG_GCC_CFLAGS) stage2/glue.o -o $@ $< \
15+
$(Q)gcc $(CFG_GCC_CFLAGS) rt/main.o stage2/glue.o -o $@ $< \
1616
-Lstage2 -Lrustllvm -Lrt -lrustrt -lrustllvm -lstd -lm -lrustc
1717
@# dsymutil sometimes fails or prints a warning, but the
1818
@# program still runs. Since it simplifies debugging other

0 commit comments

Comments
 (0)