summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
authorusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-11-18 15:55:39 +0000
committerusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-11-18 15:55:39 +0000
commitadbf87232c8d772dd6cd657a99c76b4cc8cb02c0 (patch)
treeb833a6df99ca0d1f5fc69fc4e887f9c842482f42 /ext
parentfa3affad9a7677cf0307fbb218b612e2626ee9f3 (diff)
* 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')
-rwxr-xr-xext/extmk.rb3
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)