diff options
author | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2022-05-17 23:55:32 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2022-05-18 14:33:00 +0900 |
commit | 97c12c5f692d176278dd6445a751788568b54e4d (patch) | |
tree | 8fc810f2110968ee8383c7f9d8e2dd4904cef4a9 /template | |
parent | 9a0f5a8edc9c1a7b3d1f85fb1c02e137520cfe1a (diff) | |
download | ruby-97c12c5f692d176278dd6445a751788568b54e4d.tar.gz |
Clean intermediate object files
Diffstat (limited to 'template')
-rw-r--r-- | template/Makefile.in | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/template/Makefile.in b/template/Makefile.in index 28504d5326..acda941639 100644 --- a/template/Makefile.in +++ b/template/Makefile.in @@ -311,6 +311,7 @@ $(LIBRUBY_A): $(ECHO0) 'merging $(YJIT_LIBS) into $@' && \ $(RMALL) libyjit/ && \ $(MAKEDIRS) libyjit/ && \ + trap "$(RMALL) libyjit/" 0 && \ (cd libyjit/ && $(AR) -x ../$(YJIT_LIBS)) && \ : "$(AR) $(ARFLAGS) $@ libyjit/*.$(OBJEXT)" && \ find libyjit/ -name '*.$(OBJEXT)' -exec $(AR) $(ARFLAGS) $@ '{}' '+' ; \ |