mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-07-21 03:58:32 +00:00
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>
This commit is contained in:
parent
8b2f638621
commit
5cd1fc041e
@ -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 \
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user