mirror of
https://git.yoctoproject.org/poky
synced 2026-04-23 00:32:12 +02:00
sqlite3: consistent set of features for nativesdk
Enable use of pread() and enable column metadata API for nativesdk builds. This brings nativesdk in line with target and native builds. (From OE-Core rev: 7c8b85e1c3d852975cd5961a297aa939bf4c7fe7) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
5f3a3d4063
commit
086610faf0
@@ -37,10 +37,12 @@ CFLAGS_append = " -fPIC"
|
||||
|
||||
# pread() is in POSIX.1-2001 so any reasonable system must surely support it
|
||||
BUILD_CFLAGS += "-DUSE_PREAD"
|
||||
BUILDSDK_CFLAGS += "-DUSE_PREAD"
|
||||
TARGET_CFLAGS += "-DUSE_PREAD"
|
||||
|
||||
# Provide column meta-data API
|
||||
BUILD_CFLAGS += "-DSQLITE_ENABLE_COLUMN_METADATA"
|
||||
BUILDSDK_CFLAGS += "-DSQLITE_ENABLE_COLUMN_METADATA"
|
||||
TARGET_CFLAGS += "-DSQLITE_ENABLE_COLUMN_METADATA"
|
||||
|
||||
PACKAGES = "lib${BPN} lib${BPN}-dev lib${BPN}-doc ${PN}-dbg lib${BPN}-staticdev ${PN}"
|
||||
|
||||
Reference in New Issue
Block a user