Commit be1f99f9 authored by Rahix's avatar Rahix
Browse files

chore(build): Disable a warning for mpy-cross-wrapper



Disable the `unused-parameter` warning for the mpy-cross-wrapper to
silence an error about `argc` being unused (which is ok).

Signed-off-by: Rahix's avatarRahix <rahix@rahix.de>
parent e36620e6
......@@ -31,7 +31,7 @@ mpy_cross_wrapper = executable(
'mpy-cross-wrapper.c',
link_depends: mpy_cross_bin,
native: true,
c_args: ['-DMPY_CROSS_PATH="' + meson.current_build_dir() + '"'],
c_args: ['-DMPY_CROSS_PATH="' + meson.current_build_dir() + '"', '-Wno-unused-parameter'],
)
mpy_cross = generator(
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment