diff options
author | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-11-18 15:55:39 +0000 |
---|---|---|
committer | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-11-18 15:55:39 +0000 |
commit | 01cc8a86d210ad551bdf97b274f34c2a73c1ad94 (patch) | |
tree | b833a6df99ca0d1f5fc69fc4e887f9c842482f42 /ext/extmk.rb | |
parent | b7bb9b6a42d790bb9f4a8ec9786bc23322035999 (diff) | |
download | ruby-01cc8a86d210ad551bdf97b274f34c2a73c1ad94.tar.gz |
* 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
Diffstat (limited to 'ext/extmk.rb')
-rwxr-xr-x | ext/extmk.rb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ext/extmk.rb b/ext/extmk.rb index 38b25e2a27..0f76bfcdc4 100755 --- a/ext/extmk.rb +++ b/ext/extmk.rb @@ -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) |