fix build problem

Signed-off-by: zwtmichael <zhuwentao5@huawei.com>
(cherry picked from commit 4287815f16)
This commit is contained in:
zwtmichael
2022-09-15 16:38:26 +08:00
committed by openeuler-sync-bot
parent 06247f0077
commit cd34fe688d
+6 -3
View File
@@ -6,7 +6,7 @@
Name: sqlite
Version: 3.37.2
Release: 2
Release: 3
Summary: Embeded SQL database
License: Public Domain
URL: http://www.sqlite.org/
@@ -70,9 +70,9 @@ This contains man files and HTML files for the using of sqlite.
rm -f %{name}-doc-%{extver}/sqlite.css~ || :
autoconf
%build
autoconf
export CFLAGS="$RPM_OPT_FLAGS $RPM_LD_FLAGS -DSQLITE_ENABLE_COLUMN_METADATA=1 \
-DSQLITE_DISABLE_DIRSYNC=1 -DSQLITE_ENABLE_FTS3=3 \
-DSQLITE_ENABLE_RTREE=1 -DSQLITE_SECURE_DELETE=1 \
@@ -137,6 +137,9 @@ make test
%{_mandir}/man*/*
%changelog
* Wed Sep 14 2022 zhuwentao <zhuwentao5@huawei.com> - 3.37.2-3
- fix build problem
* Mon Sep 5 2022 zhuwentao <zhuwentao5@huawei.com> - 3.37.2-2
- fix integer overflow on gigabyte string