Use correct GCC flags variable in fuzzer.mk

This commit is contained in:
Brian Anderson 2011-06-14 19:11:37 -07:00
parent 29e14a0f81
commit c5caff8e18

View File

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