From: Wook Song Date: Fri, 7 Jun 2024 04:40:00 +0000 (+0900) Subject: Dist/Tizen: Fix build errors with gcc-14 X-Git-Tag: accepted/tizen/9.0/unified/20241030.232032^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fheads%2Faccepted%2Ftizen_unified_dev;p=platform%2Fupstream%2Fdldt.git Dist/Tizen: Fix build errors with gcc-14 This patch fixes build errors from the writing 1 byte into a region of size 0 [-Werror=stringop-overflow=] with gcc-14. Change-Id: Ic291001f4eb4699d8d33ad9d9529d7ba472edf15 Signed-off-by: Wook Song --- diff --git a/packaging/openvino.spec b/packaging/openvino.spec index 6c3d782..ff79105 100644 --- a/packaging/openvino.spec +++ b/packaging/openvino.spec @@ -113,7 +113,7 @@ pushd build CFLAGS="${CFLAGS:-%optflags}"; export CFLAGS=${CFLAGS/-Wall/}; CFLAGS=`echo ${CFLAGS} -Wno-format-truncation` CXXFLAGS="${CXXFLAGS:-%optflags}"; export CXXFLAGS=${CXXFLAGS/-Wall/}; -CXXFLAGS=`echo ${CXXFLAGS} -Wno-format-truncation -Wno-unused-const-variable -Wno-free-nonheap-object -Wno-deprecated-declarations -Wno-array-bounds` +CXXFLAGS=`echo ${CXXFLAGS} -Wno-format-truncation -Wno-unused-const-variable -Wno-free-nonheap-object -Wno-deprecated-declarations -Wno-array-bounds -Wno-stringop-overflow` FFLAGS="${FFLAGS:-%optflags}"; export FFLAGS=${FFLAGS/-Wall/}; cmake .. \ -DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_INSTALL_PREFIX:PATH=%{_prefix} \