summaryrefslogtreecommitdiff
path: root/instruby.rb
diff options
context:
space:
mode:
Diffstat (limited to 'instruby.rb')
-rw-r--r--instruby.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/instruby.rb b/instruby.rb
index e69ec072c4..fc8639f112 100644
--- a/instruby.rb
+++ b/instruby.rb
@@ -36,8 +36,9 @@ def parse_args()
def $mflags.set?(flag)
# Only nmake puts flags together
- if $nmake == ?m
+ if /nmake/ =~ $make
grep(/^-(?!-).*#{'%c' % flag}/i) { return true }
+ false
else
include?('-%c' % flag)
end