Skip to content

Commit 71be233

Browse files
committed
properly clean .dSYM directories
1 parent 82727b9 commit 71be233

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

mk/clean.mk

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,11 @@ clean-misc:
2929
-name '*.dylib' -o \
3030
-name '*.dll' -o \
3131
-name '*.def' -o \
32-
-name '*.bc' -o \
33-
-name '*.dSYM' \
32+
-name '*.bc' \
3433
| xargs rm -f
34+
$(Q)find rustllvm rt $(CFG_HOST_TRIPLE)\
35+
-name '*.dSYM' \
36+
| xargs rm -Rf
3537
$(Q)rm -f $(RUNTIME_OBJS) $(RUNTIME_DEF)
3638
$(Q)rm -f $(RUSTLLVM_LIB_OBJS) $(RUSTLLVM_OBJS_OBJS) $(RUSTLLVM_DEF)
3739
$(Q)rm -Rf $(DOCS)

0 commit comments

Comments
 (0)