mirror of
https://git.yoctoproject.org/poky
synced 2026-05-30 00:20:08 +00:00
sqlite3: enable USE_PREAD
This gives a small but measureable performance improvement for I/O heavy workloads. (From OE-Core rev: e4bd65e68c3d0dd798ff69c2e9491e5b2dcafdc3) Signed-off-by: Phil Blundell <pb@pbcl.net> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
9ee8e2fae8
commit
4d741c106c
@@ -17,6 +17,10 @@ export config_TARGET_LINK = "${CCLD}"
|
||||
export config_TARGET_CFLAGS = "${CFLAGS}"
|
||||
export config_TARGET_LFLAGS = "${LDFLAGS}"
|
||||
|
||||
# pread() is in POSIX.1-2001 so any reasonable system must surely support it
|
||||
BUILD_CFLAGS += "-DUSE_PREAD"
|
||||
TARGET_CFLAGS += "-DUSE_PREAD"
|
||||
|
||||
PACKAGES = "lib${BPN} lib${BPN}-dev lib${BPN}-doc ${PN}-dbg lib${BPN}-staticdev ${PN}"
|
||||
|
||||
FILES_${PN} = "${bindir}/*"
|
||||
|
||||
Reference in New Issue
Block a user