Skip to content

Commit

Permalink
auto merge of rust-lang#12899 : brson/rust/cleanbacktrace, r=alexcric…
Browse files Browse the repository at this point in the history
…hton

After `make clean` I'm seeing the build break with

```
cp: cannot stat ‘x86_64-unknown-linux-gnu/rt/libbacktrace/.libs/libbacktrace.a’: No such file or directory
```

Deleteing the libbacktrace dir entirely on clean fixes.
  • Loading branch information
bors committed Mar 16, 2014
2 parents f6fcdbb + 94078f7 commit d956975
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions mk/clean.mk
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ define CLEAN_HOST_STAGE_N
clean$(1)_H_$(2): \
$$(foreach crate,$$(CRATES),clean$(1)_H_$(2)-lib-$$(crate)) \
$$(foreach tool,$$(TOOLS),clean$(1)_H_$(2)-tool-$$(tool))
$$(Q)rm -fr $(2)/rt/libbacktrace

clean$(1)_H_$(2)-tool-%:
$$(Q)rm -f $$(HBIN$(1)_H_$(2))/$$*$$(X_$(2))
Expand Down

0 comments on commit d956975

Please sign in to comment.