Skip to content
Snippets Groups Projects
Commit 649919e5 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 a2c73ba6
No related branches found
No related tags found
No related merge requests found
...@@ -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