diff options
author | John Hodge <tpg@mutabah.net> | 2016-09-27 11:28:36 +0800 |
---|---|---|
committer | John Hodge <tpg@mutabah.net> | 2016-09-27 11:28:36 +0800 |
commit | d8c8d81be50e02c86ceef0a3ac42d0d2b78ca630 (patch) | |
tree | da6c05b8afbb07736680562c752d6f7d6973876c | |
parent | ada1ad7cd74dd65b035e388fa2a27a835131cf13 (diff) | |
download | mrust-d8c8d81be50e02c86ceef0a3ac42d0d2b78ca630.tar.gz |
Makefile - (minor) Delete output file to work around GDB quirk
-rw-r--r-- | Makefile | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -93,12 +93,14 @@ RUSTCSRC := ./rustc-nightly/ output/lib%.hir: $(RUSTCSRC)src/lib%/lib.rs $(BIN) @echo "--- [MRUSTC] $@" @mkdir -p output/ + @rm -f $@ $(DBG) $(BIN) $< -o $@ $(PIPECMD) # # HACK: Work around gdb returning success even if the program crashed @test -e $@ output/lib%.hir: $(RUSTCSRC)src/lib%/src/lib.rs $(BIN) @echo "--- [MRUSTC] $@" @mkdir -p output/ + @rm -f $@ $(DBG) $(BIN) $< -o $@ $(PIPECMD) # # HACK: Work around gdb returning success even if the program crashed @test -e $@ |