[前][次][番号順一覧][スレッド一覧]

ruby-changes:71869

From: Nobuyoshi <ko1@a...>
Date: Wed, 18 May 2022 14:33:17 +0900 (JST)
Subject: [ruby-changes:71869] 97c12c5f69 (master): Clean intermediate object files

https://git.ruby-lang.org/ruby.git/commit/?id=97c12c5f69

From 97c12c5f692d176278dd6445a751788568b54e4d Mon Sep 17 00:00:00 2001
From: Nobuyoshi Nakada <nobu@r...>
Date: Tue, 17 May 2022 23:55:32 +0900
Subject: Clean intermediate object files

---
 template/Makefile.in | 1 +
 1 file changed, 1 insertion(+)

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): https://github.com/ruby/ruby/blob/trunk/template/Makefile.in#L311
 		  $(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) $@ '{}' '+' ; \
-- 
cgit v1.2.1


--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]