summaryrefslogtreecommitdiffhomepage
path: root/lib
diff options
context:
space:
mode:
authorYukihiro "Matz" Matsumoto <[email protected]>2021-01-28 19:57:16 +0900
committerGitHub <[email protected]>2021-01-28 19:57:16 +0900
commitbb42c1b286844e37aa8110e1b2d9b5dd9eff8f3e (patch)
treea20368f5a6b0fbd1457f411c01fc762e47af0959 /lib
parentd42d308620f00ed53ba74ee5d3972d637bb6e57f (diff)
parentc858cba3e95f820a956f72607c9af494f70b9304 (diff)
downloadmruby-bb42c1b286844e37aa8110e1b2d9b5dd9eff8f3e.tar.gz
mruby-bb42c1b286844e37aa8110e1b2d9b5dd9eff8f3e.zip
Merge pull request #5304 from shuujii/refine-preprocess_options
Refine `preprocess_options`; ref d95ffb036
Diffstat (limited to 'lib')
-rw-r--r--lib/mruby/build/command.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/mruby/build/command.rb b/lib/mruby/build/command.rb
index e88b5ace7..9362a9d95 100644
--- a/lib/mruby/build/command.rb
+++ b/lib/mruby/build/command.rb
@@ -92,7 +92,7 @@ module MRuby
opts = compile_options
else
label = "CPP"
- opts = preprocess_options.gsub(/-MMD -MF .* -o/, "-o")
+ opts = preprocess_options
flags << " -DMRB_PRESYM_SCANNING"
end
_pp label, infile.relative_path, outfile.relative_path