sbc: Fix for gcc 15 compile error
PATCH 1/1 sbc: Fix for gcc 15 compile error
With the move to gcc 15, the code is not generating a compile error.
../sbc-2.1/sbc/sbc_primitives_armv6.c:284:9:
error: too many arguments to function 'sbc_analyze_eight_armv6';
expected 0, have 3
Simple fix is to drop the C standard down to gnu17 to avoid this new error.
I am going to submit a better patch to oe-core, but we need this in the interim to get our builds working again.
Signed-off-by Ryan Eatmon <[email protected]>
--- meta-arago-distro/recipes-multimedia/sbc/sbc-arago.inc | 1 + meta-arago-distro/recipes-multimedia/sbc/sbc_%.bbappend | 4 ++++ 2 files changed, 5 insertions(+) create mode 100644 meta-arago-distro/recipes-multimedia/sbc/sbc-arago.inc create mode 100644 meta-arago-distro/recipes-multimedia/sbc/sbc_%.bbappend
meta-arago-distro/recipes-multimedia/sbc/sbc-arago.inc new file +1 -0
@@ -0,0 +1 @@ +CFLAGS += "-std=gnu17"
meta-arago-distro/recipes-multimedia/sbc/sbc_%.bbappend new file +4 -0
@@ -0,0 +1,4 @@ +SBC_ARAGO = "" +SBC_ARAGO:arago = "sbc-arago.inc" + +require ${SBC_ARAGO}
Signature · 1 line
2.17.1