add CFLAGS in build

(cherry picked from commit 310329066e793c137075497fa6c5e15010132342)
This commit is contained in:
yangcheng1203 2022-04-24 16:58:11 +08:00 committed by openeuler-sync-bot
parent dfb839e819
commit 6875f82035

View File

@ -1,6 +1,6 @@
Name: jbigkit Name: jbigkit
Version: 2.1 Version: 2.1
Release: 18 Release: 19
Summary: Lossless image compression library Summary: Lossless image compression library
License: GPLv2+ License: GPLv2+
@ -43,6 +43,9 @@ files for %{name} development.
%autosetup -n %{name}-%{version} -p1 %autosetup -n %{name}-%{version} -p1
%build %build
export CFLAGS="${CFLAGS:-%optflags}"
export CXXFLAGS="${CXXFLAGS:-%optflags}"
export FFLAGS="${FFLAGS:-%optflags}"
%make_build %make_build
%install %install
@ -81,6 +84,9 @@ make test
%{_mandir}/man1/* %{_mandir}/man1/*
%changelog %changelog
* Sun Apr 24 2022 yangcheng <yangcheng87@h-partners.com> - 2.1-19
- add CFLAGS in build
* Mon Apr 11 2022 xingxing <xingxing9@h-partners.com> - 2.1-18 * Mon Apr 11 2022 xingxing <xingxing9@h-partners.com> - 2.1-18
- Type:CVE - Type:CVE
- CVE:CVE-2017-9937 - CVE:CVE-2017-9937