diff mbox series

[meta-arago,master,1/2] hevc-arm-decoder: Update for gcc v14 support

Message ID 20240604154024.12402-1-reatmon@ti.com
State Accepted
Delegated to: Ryan Eatmon
Headers show
Series [meta-arago,master,1/2] hevc-arm-decoder: Update for gcc v14 support | expand

Commit Message

Ryan Eatmon June 4, 2024, 3:40 p.m. UTC
One of the changes in gcc v14 is making implicit-function-declaration an
error.  For some older software packages the easiest fix is to add
-fpermissive to the compile line.

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
---
 .../recipes-multimedia/hevc-arm-decoder/hevc-arm-decoder_git.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/meta-arago-extras/recipes-multimedia/hevc-arm-decoder/hevc-arm-decoder_git.bb b/meta-arago-extras/recipes-multimedia/hevc-arm-decoder/hevc-arm-decoder_git.bb
index 3bcd6c7f..4d89818f 100644
--- a/meta-arago-extras/recipes-multimedia/hevc-arm-decoder/hevc-arm-decoder_git.bb
+++ b/meta-arago-extras/recipes-multimedia/hevc-arm-decoder/hevc-arm-decoder_git.bb
@@ -24,7 +24,7 @@  do_configure() {
 
 do_compile() {
     cd ${S}/Client/Build/ARM
-    oe_runmake CC="${CC}" LINKER="${CC}"
+    oe_runmake CC="${CC} -fpermissive" LINKER="${CC}"
 }
 
 do_install() {