Skip to content

Commit 97c12c5

Browse files
committed
Clean intermediate object files
1 parent 9a0f5a8 commit 97c12c5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

template/Makefile.in

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -311,6 +311,7 @@ $(LIBRUBY_A):
311311
$(ECHO0) 'merging $(YJIT_LIBS) into $@' && \
312312
$(RMALL) libyjit/ && \
313313
$(MAKEDIRS) libyjit/ && \
314+
trap "$(RMALL) libyjit/" 0 && \
314315
(cd libyjit/ && $(AR) -x ../$(YJIT_LIBS)) && \
315316
: "$(AR) $(ARFLAGS) $@ libyjit/*.$(OBJEXT)" && \
316317
find libyjit/ -name '*.$(OBJEXT)' -exec $(AR) $(ARFLAGS) $@ '{}' '+' ; \

0 commit comments

Comments
 (0)