mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-29 05:36:47 +00:00
sqlite: enable mmap support
Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
parent
1d6e245571
commit
c1cb4a1e72
@ -45,6 +45,14 @@
|
|||||||
# - sqlite3_table_column_metadata()
|
# - sqlite3_table_column_metadata()
|
||||||
CFLAGS="$CFLAGS -DSQLITE_ENABLE_COLUMN_METADATA=1"
|
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
|
cd $PKG_BUILD
|
||||||
./configure --host=$TARGET_NAME \
|
./configure --host=$TARGET_NAME \
|
||||||
--build=$HOST_NAME \
|
--build=$HOST_NAME \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user