summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWook Song <wook16.song@samsung.com>2024-06-07 13:40:00 +0900
committerWook Song <wook16.song@samsung.com>2024-06-07 13:43:15 +0900
commitf196ee89ce02e8be2603299bc1a5cb79e534b8b5 (patch)
tree05d74c9a7d9ddfb93a6faba989d95c1ab1b403e9
parent429e3e2a85f4846fde809df60817c0ec9142ef7b (diff)
downloaddldt-accepted/tizen/unified/20240611.123217.tar.gz
dldt-accepted/tizen/unified/20240611.123217.tar.bz2
dldt-accepted/tizen/unified/20240611.123217.zip
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 <wook16.song@samsung.com>
-rw-r--r--packaging/openvino.spec2
1 files changed, 1 insertions, 1 deletions
diff --git a/packaging/openvino.spec b/packaging/openvino.spec
index 6c3d78207..ff79105f0 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} \