try fix build issues

This commit is contained in:
Mahno 2025-02-24 12:39:07 +08:00
parent fd4b2cf1d5
commit 18a0b6d152

View File

@ -179,7 +179,7 @@ This package provides headers and static libraries for libtextstyle
%define _lto_cflags %{nil} %define _lto_cflags %{nil}
# expect a couple "You should update your `aclocal.m4' by running aclocal." # expect a couple "You should update your `aclocal.m4' by running aclocal."
autoreconf -fiv autoreconf -fiv
export CFLAGS="%{optflags} -pipe -W -Wall -Dgcc_is_lint" export CFLAGS="%{optflags} -pipe -W -Wall -Dgcc_is_lint -Wno-error=format-security"
export CXXFLAGS="$CFLAGS -Dgcc_is_lint" export CXXFLAGS="$CFLAGS -Dgcc_is_lint"
export LDFLAGS="-lm" export LDFLAGS="-lm"
%configure --disable-static $OPTS %configure --disable-static $OPTS