From: Hemanth Kumar M D <[email protected]>

GCC 16 reports -Warray-bounds warnings which are treated as errors.

Reported upstream: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=125743

Signed-off-by: Hemanth Kumar M D <[email protected]>
---
 meta-oe/recipes-extended/7zip/bit7z_4.0.12.bb | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/meta-oe/recipes-extended/7zip/bit7z_4.0.12.bb 
b/meta-oe/recipes-extended/7zip/bit7z_4.0.12.bb
index 300d9bc3cc..31202d0ea2 100644
--- a/meta-oe/recipes-extended/7zip/bit7z_4.0.12.bb
+++ b/meta-oe/recipes-extended/7zip/bit7z_4.0.12.bb
@@ -34,6 +34,8 @@ DEPENDS = "7zip"
 
 EXTRA_OECMAKE += "-DBIT7Z_CUSTOM_7ZIP_PATH=${STAGING_INCDIR}/7zip"
 
+CXXFLAGS:append = " -Wno-error=array-bounds"
+
 PACKAGECONFIG ??= "${@bb.utils.contains('PTEST_ENABLED', '1', 'tests', '', d)}"
 PACKAGECONFIG[tests] = " \
     -DBIT7Z_BUILD_TESTS=ON -DBIT7Z_DISABLE_USE_STD_FILESYSTEM=ON \
-- 
2.49.0

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#127529): 
https://lists.openembedded.org/g/openembedded-devel/message/127529
Mute This Topic: https://lists.openembedded.org/mt/119755450/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to