diff --git a/motif.spec b/motif.spec index b548ab0c5efddf6c0b4af83480e213dc58de5225..67984ccf22776e5cac69fcdbc108c1c9fe03e5d2 100644 --- a/motif.spec +++ b/motif.spec @@ -1,6 +1,6 @@ Name: motif Version: 2.3.8 -Release: 4 +Release: 5 Summary: Run-time libraries and programs License: LGPLv2+ URL: https://motif.ics.com/ @@ -47,7 +47,7 @@ sed -i 's/-fno-strict-aliasing/-fstack-protector-strong -fno-strict-aliasing/g' %endif %build -CFLAGS="$RPM_OPT_FLAGS -D_FILE_OFFSET_BITS=64" +CFLAGS="$RPM_OPT_FLAGS -D_FILE_OFFSET_BITS=64 -Wno-format-security" ./autogen.sh --libdir=%{_libdir} --enable-static --enable-xft --enable-jpeg --enable-png %make_build clean @@ -86,6 +86,9 @@ rm -f $RPM_BUILD_ROOT%{_libdir}/*.la %{_mandir}/man*/* %changelog +* Thu Jul 20 2023 zhangxiang - 2.3.8-5 +- Add cflags -Wno-format-security for gcc build + * Wed Jun 28 2023 laokz - 2.3.8-4 - update config.guess and config.sub for riscv64