diff options
| author | Yukihiro "Matz" Matsumoto <[email protected]> | 2021-01-28 19:57:16 +0900 |
|---|---|---|
| committer | GitHub <[email protected]> | 2021-01-28 19:57:16 +0900 |
| commit | bb42c1b286844e37aa8110e1b2d9b5dd9eff8f3e (patch) | |
| tree | a20368f5a6b0fbd1457f411c01fc762e47af0959 /tasks/toolchains/openwrt.rake | |
| parent | d42d308620f00ed53ba74ee5d3972d637bb6e57f (diff) | |
| parent | c858cba3e95f820a956f72607c9af494f70b9304 (diff) | |
| download | mruby-bb42c1b286844e37aa8110e1b2d9b5dd9eff8f3e.tar.gz mruby-bb42c1b286844e37aa8110e1b2d9b5dd9eff8f3e.zip | |
Merge pull request #5304 from shuujii/refine-preprocess_options
Refine `preprocess_options`; ref d95ffb036
Diffstat (limited to 'tasks/toolchains/openwrt.rake')
| -rw-r--r-- | tasks/toolchains/openwrt.rake | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tasks/toolchains/openwrt.rake b/tasks/toolchains/openwrt.rake index d5763d8de..a903ddd49 100644 --- a/tasks/toolchains/openwrt.rake +++ b/tasks/toolchains/openwrt.rake @@ -11,7 +11,8 @@ MRuby::Toolchain.new(:openwrt) do |conf| end cc.option_include_path = %q[-I"%s"] cc.option_define = '-D%s' - cc.compile_options = %q[%{flags} -MMD -MF "%{outfile}.d" -o "%{outfile}" -c "%{infile}"] + cc.compile_options = '%{flags} -MMD -MF "%{outfile}.d" -o "%{outfile}" -c "%{infile}"' + cc.preprocess_options = '%{flags} -o "%{outfile}" -E -P "%{infile}"' end conf.linker do |linker| |
