From 4cdda39fc54acafcf368b7befce77576ae766ff6 Mon Sep 17 00:00:00 2001 From: zhangxiang Date: Sat, 29 Jul 2023 16:12:28 +0800 Subject: [PATCH] Add cflags Add cflags --- motif.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/motif.spec b/motif.spec index b548ab0..67984cc 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 -- Gitee