ruby/ruby-2.2.3-Generate-preludes-using-miniruby.patch

29 lines
883 B
Diff
Raw Normal View History

2016-01-05 09:58:10 +00:00
From 07eb5f5e775dec01a92a8b13910eaced9e8ee0cd Mon Sep 17 00:00:00 2001
2015-12-10 14:30:53 +00:00
From: =?UTF-8?q?V=C3=ADt=20Ondruch?= <vondruch@redhat.com>
Date: Tue, 2 Dec 2014 10:56:58 +0100
Subject: [PATCH] Generate preludes using miniruby.
---
common.mk | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/common.mk b/common.mk
2016-01-05 09:58:10 +00:00
index 168dc52..20c218a 100644
2015-12-10 14:30:53 +00:00
--- a/common.mk
+++ b/common.mk
2019-01-17 07:31:01 +00:00
@@ -1052,9 +1052,9 @@ $(MINIPRELUDE_C): $(COMPILE_PRELUDE)
$(srcdir)/template/prelude.c.tmpl
2015-12-10 14:30:53 +00:00
$(PRELUDE_C): $(COMPILE_PRELUDE) \
- $(PRELUDE_SCRIPTS)
+ $(PRELUDE_SCRIPTS) $(PREP)
2015-12-10 14:30:53 +00:00
$(ECHO) generating $@
- $(Q) $(BASERUBY) $(srcdir)/tool/generic_erb.rb -I$(srcdir) -c -o $@ \
+ $(Q) $(MINIRUBY) $(srcdir)/tool/generic_erb.rb -I$(srcdir) -c -o $@ \
$(srcdir)/template/prelude.c.tmpl $(PRELUDE_SCRIPTS)
2019-01-17 07:31:01 +00:00
$(GOLF_PRELUDE_C): $(COMPILE_PRELUDE) {$(srcdir)}golf_prelude.rb
2015-12-10 14:30:53 +00:00
--
2016-01-05 09:58:10 +00:00
2.6.3
2015-12-10 14:30:53 +00:00