sqlite: enable fdatasync.
sqlite needs to explicitly enable fdatasync support. As our main target (Linux) has decent support for fdatasync (hopefully) we can enable support and gain slightly better performance.
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
# Template build file for 'sqlite'.
|
||||
pkgname=sqlite
|
||||
version=3.11.1
|
||||
revision=1
|
||||
_amalgamationver=3110100
|
||||
revision=3
|
||||
_amalgamationver=$(printf "%d%02d%02d00\n" ${version//./ })
|
||||
wrksrc="sqlite-autoconf-${_amalgamationver}"
|
||||
build_style=gnu-configure
|
||||
configure_args="--enable-threadsafe --enable-readline --enable-dynamic-extensions"
|
||||
@@ -15,7 +15,8 @@ distfiles="http://sqlite.org/2016/sqlite-autoconf-${_amalgamationver}.tar.gz"
|
||||
checksum=533ff1d0271c2e666f01591271cef01a31648563affa0c95e80ef735077d4377
|
||||
|
||||
CFLAGS="-DSQLITE_ENABLE_DBSTAT_VTAB -DSQLITE_ENABLE_COLUMN_METADATA -DSQLITE_ENABLE_UNLOCK_NOTIFY -DSQLITE_SECURE_DELETE -DSQLITE_ENABLE_JSON1"
|
||||
|
||||
# explicitly enable fdatasync
|
||||
CFLAGS+=" -DHAVE_FDATASYNC"
|
||||
disable_parallel_build=yes
|
||||
|
||||
sqlite-devel_package() {
|
||||
|
||||
Reference in New Issue
Block a user