From c858cba3e95f820a956f72607c9af494f70b9304 Mon Sep 17 00:00:00 2001 From: KOBAYASHI Shuji Date: Thu, 28 Jan 2021 18:42:19 +0900 Subject: 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. --- lib/mruby/build/command.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') 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 -- cgit v1.2.3