From 74aa060067f1d9e3a59ac14dace4c19736ef18de Mon Sep 17 00:00:00 2001 From: wchang kim Date: Mon, 10 Jun 2024 20:15:11 +0900 Subject: [PATCH] Fixed the build error for gcc-14 Change-Id: Id8572d25253ef265a83ec32e3957f15c647e6fae --- packaging/email-service.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packaging/email-service.spec b/packaging/email-service.spec index 86ef2dd..99f890d 100755 --- a/packaging/email-service.spec +++ b/packaging/email-service.spec @@ -106,7 +106,7 @@ export CXXFLAGS+=" -fprofile-arcs -ftest-coverage" export FFLAGS+=" -fprofile-arcs -ftest-coverage" export LDFLAGS+=" -lgcov" %endif -export CFLAGS="${CFLAGS} -fPIC -Wall -g -fvisibility=hidden -fdata-sections -ffunction-sections" +export CFLAGS="${CFLAGS} -fPIC -Wall -g -fvisibility=hidden -fdata-sections -ffunction-sections -Wno-format-overflow" export CXXFLAGS="${CXXFLAGS} -fPIC -Wall -g -fvisibility=hidden -Wno-psabi" export LDFLAGS="${LDFLAGS} -Wl,--hash-style=both -Wl,--rpath=%{_libdir} -Wl,--as-needed" -- 2.7.4