diff --git a/scripts/scons_helpers/build-3rdparty.py b/scripts/scons_helpers/build-3rdparty.py index 1f57314cc..f301f087f 100644 --- a/scripts/scons_helpers/build-3rdparty.py +++ b/scripts/scons_helpers/build-3rdparty.py @@ -1292,7 +1292,7 @@ def die(text, *args): execute(ctx, './configure --host={host} {vars} {flags} {opts}'.format( host=ctx.toolchain, vars=format_vars(ctx), - flags=format_flags(ctx), + flags=format_flags(ctx, cflags='-w -Wno-incompatible-function-pointer-types'), opts=' '.join([ '--disable-openmp', '--disable-shared',