sqlite: enable mmap support

Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
Stephan Raue 2013-06-12 04:28:43 +02:00
parent 1d6e245571
commit c1cb4a1e72

View File

@ -45,6 +45,14 @@
# - sqlite3_table_column_metadata()
CFLAGS="$CFLAGS -DSQLITE_ENABLE_COLUMN_METADATA=1"
# This macro sets the default limit on the amount of memory that will be used for
# memory-mapped I/O for each open database file. If the N is zero, then memory
# mapped I/O is disabled by default. This compile-time limit and the
# SQLITE_MAX_MMAP_SIZE can be modified at start-time using the
# sqlite3_config(SQLITE_CONFIG_MMAP_SIZE) call, or at run-time using the
# mmap_size pragma.
CFLAGS="$CFLAGS -DSQLITE_DEFAULT_MMAP_SIZE=268435456"
cd $PKG_BUILD
./configure --host=$TARGET_NAME \
--build=$HOST_NAME \