diff options
| author | KOBAYASHI Shuji <[email protected]> | 2021-01-28 18:42:19 +0900 |
|---|---|---|
| committer | KOBAYASHI Shuji <[email protected]> | 2021-01-28 18:42:19 +0900 |
| commit | c858cba3e95f820a956f72607c9af494f70b9304 (patch) | |
| tree | bd8c01bb114f356df823a473ae425f0256a6dfa0 /lib | |
| parent | 56842628b9968d2786be7b9c772ee8f8fb51248d (diff) | |
| download | mruby-c858cba3e95f820a956f72607c9af494f70b9304.tar.gz mruby-c858cba3e95f820a956f72607c9af494f70b9304.zip | |
Refine `preprocess_options`; ref d95ffb036
If we modify an option that may have been specified by users, we may
make unintended changes, so it is better not to modify it as much as
possible, IMO.
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/mruby/build/command.rb | 2 |
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 |
