diff options
| author | Hemanth Kumar M D <Hemanth.KumarMD@windriver.com> | 2026-06-11 05:28:49 -0700 |
|---|---|---|
| committer | Khem Raj <khem.raj@oss.qualcomm.com> | 2026-06-14 23:07:48 -0700 |
| commit | 5cd1fc041e04ce31e209c8b86ec4fbd234c1ad01 (patch) | |
| tree | fc04e26d92ecf4f3bb97176b7ac6e8787ee95e5b | |
| parent | 8b2f638621da1887cd393f4bf198486a4ecca0e5 (diff) | |
| download | meta-openembedded-5cd1fc041e04ce31e209c8b86ec4fbd234c1ad01.tar.gz | |
bit7z: workaround array-bounds warnings with GCC 16
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 <Hemanth.KumarMD@windriver.com>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
| -rw-r--r-- | meta-oe/recipes-extended/7zip/bit7z_4.0.12.bb | 2 |
1 files changed, 2 insertions, 0 deletions
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" | |||
| 34 | 34 | ||
| 35 | EXTRA_OECMAKE += "-DBIT7Z_CUSTOM_7ZIP_PATH=${STAGING_INCDIR}/7zip" | 35 | EXTRA_OECMAKE += "-DBIT7Z_CUSTOM_7ZIP_PATH=${STAGING_INCDIR}/7zip" |
| 36 | 36 | ||
| 37 | CXXFLAGS:append = " -Wno-error=array-bounds" | ||
| 38 | |||
| 37 | PACKAGECONFIG ??= "${@bb.utils.contains('PTEST_ENABLED', '1', 'tests', '', d)}" | 39 | PACKAGECONFIG ??= "${@bb.utils.contains('PTEST_ENABLED', '1', 'tests', '', d)}" |
| 38 | PACKAGECONFIG[tests] = " \ | 40 | PACKAGECONFIG[tests] = " \ |
| 39 | -DBIT7Z_BUILD_TESTS=ON -DBIT7Z_DISABLE_USE_STD_FILESYSTEM=ON \ | 41 | -DBIT7Z_BUILD_TESTS=ON -DBIT7Z_DISABLE_USE_STD_FILESYSTEM=ON \ |
