1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* ext/extmk.rb (--extflags): new option to pass EXTLDFLAGS to children,

expecially exts.mk.

* common.mk (EXTMK_ARGS): use above option.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52653 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
usa 2015-11-18 15:55:39 +00:00
parent fa3affad9a
commit adbf87232c
3 changed files with 12 additions and 1 deletions

View file

@ -1,3 +1,10 @@
Thu Nov 19 00:53:26 2015 NAKAMURA Usaku <usa@ruby-lang.org>
* ext/extmk.rb (--extflags): new option to pass EXTLDFLAGS to children,
expecially exts.mk.
* common.mk (EXTMK_ARGS): use above option.
Wed Nov 18 22:50:43 2015 Koichi Sasada <ko1@atdot.net>
* vm_method.c (rb_class_clear_method_cache): should clear all

View file

@ -137,7 +137,8 @@ SCRIPT_ARGS = --dest-dir="$(DESTDIR)" \
--mflags="$(MFLAGS)" \
--make-flags="$(MAKEFLAGS)"
EXTMK_ARGS = $(SCRIPT_ARGS) --extension $(EXTS) --extstatic $(EXTSTATIC) \
--make-flags="V=$(V) MINIRUBY='$(MINIRUBY)'" --gnumake=$(gnumake) \
--make-flags="V=$(V) MINIRUBY='$(MINIRUBY)'" \
--gnumake=$(gnumake) --extflags="$(EXTLDFLAGS)" \
--
INSTRUBY = $(SUDO) $(RUNRUBY) -r./$(arch)-fake $(srcdir)/tool/rbinstall.rb
INSTRUBY_ARGS = $(SCRIPT_ARGS) \

View file

@ -369,6 +369,9 @@ def parse_args()
opts.on('--gnumake=yes|no', true) do |v|
$gnumake = v
end
opts.on('--extflags=FLAGS') do |v|
$extflags = v || ""
end
end
begin
$optparser.parse!(ARGV)