Skip to content

Commit 94078f7

Browse files
committed
mk: Clean libbacktrace w/ gusto
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.
1 parent b4d3243 commit 94078f7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

mk/clean.mk

+1
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,7 @@ define CLEAN_HOST_STAGE_N
7878
clean$(1)_H_$(2): \
7979
$$(foreach crate,$$(CRATES),clean$(1)_H_$(2)-lib-$$(crate)) \
8080
$$(foreach tool,$$(TOOLS),clean$(1)_H_$(2)-tool-$$(tool))
81+
$$(Q)rm -fr $(2)/rt/libbacktrace
8182

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

0 commit comments

Comments
 (0)