libs/sqlite3: Update to 3.16.0 and add optimizations

Update to 3.16.0

Add following optimizations:

HAVE_ISNAN
HAVE_MALLOC_USABLE_SIZE

Link: https://www.sqlite.org/compile.html

Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net>
This commit is contained in:
Daniel Engberg 2017-01-03 02:33:45 -06:00
parent 16bb20cfe5
commit 8637073669

View file

@ -8,12 +8,12 @@
include $(TOPDIR)/rules.mk include $(TOPDIR)/rules.mk
PKG_NAME:=sqlite PKG_NAME:=sqlite
PKG_VERSION:=3130000 PKG_VERSION:=3160000
PKG_RELEASE:=2 PKG_RELEASE:=1
PKG_SOURCE:=$(PKG_NAME)-autoconf-$(PKG_VERSION).tar.gz PKG_SOURCE:=$(PKG_NAME)-autoconf-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=http://www.sqlite.org/2016/ PKG_SOURCE_URL:=http://www.sqlite.org/2017/
PKG_MD5SUM:=4e83f39fa2ffb610ac5ecd36865da6a2 PKG_MD5SUM:=5102404047054b2cec2f43463293f94dea39425d42bf386d24596ab4fac7c7ff
PKG_LICENSE:=PUBLICDOMAIN PKG_LICENSE:=PUBLICDOMAIN
PKG_LICENSE_FILES:= PKG_LICENSE_FILES:=
@ -69,7 +69,9 @@ $(call Package/sqlite3/Default/description)
endef endef
TARGET_CFLAGS += $(FPIC) \ TARGET_CFLAGS += $(FPIC) \
-DSQLITE_ENABLE_UNLOCK_NOTIFY \ -DSQLITE_ENABLE_UNLOCK_NOTIFY=1 \
-DHAVE_ISNAN=1 \
-DHAVE_MALLOC_USABLE_SIZE=1
CONFIGURE_ARGS += \ CONFIGURE_ARGS += \
--enable-shared \ --enable-shared \