Skip to content
Snippets Groups Projects
Commit e560656c 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 84a4dd0b
No related branches found
No related tags found
No related merge requests found
Pipeline #4268 passed
...@@ -31,7 +31,7 @@ mpy_cross_wrapper = executable( ...@@ -31,7 +31,7 @@ mpy_cross_wrapper = executable(
'mpy-cross-wrapper.c', 'mpy-cross-wrapper.c',
link_depends: mpy_cross_bin, link_depends: mpy_cross_bin,
native: true, 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( mpy_cross = generator(
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment