diff options
| author | Ryan Eatmon <reatmon@ti.com> | 2025-05-21 13:32:57 -0500 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2025-05-27 09:01:16 +0100 |
| commit | cdee0c57749b6e618c878a40c932af547d0566a2 (patch) | |
| tree | 5e5dec8405e8c31dc525c6db6baecbfed1bb69ed | |
| parent | d784ce8c15ae190a67aa51a23e0d689778a4b55d (diff) | |
| download | poky-cdee0c57749b6e618c878a40c932af547d0566a2.tar.gz | |
sbc: Fix for gcc 15 compile error
With the move to gcc 15, the code is now 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.
(From OE-Core rev: 2dc0664e966cd8d4c99798cc997c192785773e31)
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
| -rw-r--r-- | meta/recipes-multimedia/sbc/sbc_2.1.bb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/recipes-multimedia/sbc/sbc_2.1.bb b/meta/recipes-multimedia/sbc/sbc_2.1.bb index 5aaa52313f..8b91e7e65b 100644 --- a/meta/recipes-multimedia/sbc/sbc_2.1.bb +++ b/meta/recipes-multimedia/sbc/sbc_2.1.bb | |||
| @@ -19,5 +19,7 @@ SRC_URI[sha256sum] = "426633cabd7c798236443516dfa8335b47e004b0ef37ff107e0c7ead32 | |||
| 19 | 19 | ||
| 20 | inherit autotools pkgconfig | 20 | inherit autotools pkgconfig |
| 21 | 21 | ||
| 22 | CFLAGS += "-std=gnu17" | ||
| 23 | |||
| 22 | PACKAGES =+ "${PN}-examples" | 24 | PACKAGES =+ "${PN}-examples" |
| 23 | FILES:${PN}-examples += "${bindir}/*" | 25 | FILES:${PN}-examples += "${bindir}/*" |
