From 2b6fc8a0b0240f8dae424fe7d2e2767081561eed Mon Sep 17 00:00:00 2001 From: Ji-hoon Lee Date: Mon, 13 Jan 2020 19:01:24 +0900 Subject: [PATCH] Fix build error in new toolchain Change-Id: I91e6c64bfb874a73bd4b23f2717c1069183d2291 --- packaging/multi-assistant.spec | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packaging/multi-assistant.spec b/packaging/multi-assistant.spec index aa1c2be..6770881 100644 --- a/packaging/multi-assistant.spec +++ b/packaging/multi-assistant.spec @@ -72,6 +72,8 @@ export FFLAGS+=" -fprofile-arcs -ftest-coverage" export LDFLAGS+=" -lgcov" %endif +export CFLAGS+=" -Wno-stringop-overflow -Wno-format-overflow -Wno-format-truncation -Wno-stringop-truncation" +export CXXFLAGS+=" -Wno-stringop-overflow -Wno-format-overflow -Wno-format-truncation -Wno-stringop-truncation" cmake . -DCMAKE_INSTALL_PREFIX=/usr -DLIBDIR=%{_libdir} -DBINDIR=%{_bindir} -DINCLUDEDIR=%{_includedir} \ -DTZ_SYS_RO_SHARE=%TZ_SYS_RO_SHARE -DTZ_SYS_BIN=%TZ_SYS_BIN make %{?jobs:-j%jobs} -- 2.34.1