Skip to content
Snippets Groups Projects
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: default avatarRahix <rahix@rahix.de>
parent e36620e6
No related branches found
No related tags found
No related merge requests found
......@@ -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(
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment