From 7bef0cb70f8383bb936f1561460e7575d72901be Mon Sep 17 00:00:00 2001 From: Victor Gaydov Date: Thu, 25 Jul 2024 19:05:20 +0400 Subject: [PATCH] scons: Fix building sox on macOS --- scripts/scons_helpers/build-3rdparty.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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',