summaryrefslogtreecommitdiffstats
path: root/meta/recipes-support
diff options
context:
space:
mode:
authorS. Lockwood-Childs <sjl@vctlabs.com>2018-06-15 00:56:18 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-06-15 17:56:24 +0100
commit086610faf03a4c3e01cdb9d69c002b66813d97e3 (patch)
tree72905b19049bd25c26cb5d1729e73cbb78430428 /meta/recipes-support
parent5f3a3d4063814e6732b8c861018b39d5abfc43b4 (diff)
downloadpoky-086610faf03a4c3e01cdb9d69c002b66813d97e3.tar.gz
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>
Diffstat (limited to 'meta/recipes-support')
-rw-r--r--meta/recipes-support/sqlite/sqlite3.inc2
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/recipes-support/sqlite/sqlite3.inc b/meta/recipes-support/sqlite/sqlite3.inc
index 95ec89cef2..30847b958f 100644
--- a/meta/recipes-support/sqlite/sqlite3.inc
+++ b/meta/recipes-support/sqlite/sqlite3.inc
@@ -37,10 +37,12 @@ CFLAGS_append = " -fPIC"
37 37
38# pread() is in POSIX.1-2001 so any reasonable system must surely support it 38# pread() is in POSIX.1-2001 so any reasonable system must surely support it
39BUILD_CFLAGS += "-DUSE_PREAD" 39BUILD_CFLAGS += "-DUSE_PREAD"
40BUILDSDK_CFLAGS += "-DUSE_PREAD"
40TARGET_CFLAGS += "-DUSE_PREAD" 41TARGET_CFLAGS += "-DUSE_PREAD"
41 42
42# Provide column meta-data API 43# Provide column meta-data API
43BUILD_CFLAGS += "-DSQLITE_ENABLE_COLUMN_METADATA" 44BUILD_CFLAGS += "-DSQLITE_ENABLE_COLUMN_METADATA"
45BUILDSDK_CFLAGS += "-DSQLITE_ENABLE_COLUMN_METADATA"
44TARGET_CFLAGS += "-DSQLITE_ENABLE_COLUMN_METADATA" 46TARGET_CFLAGS += "-DSQLITE_ENABLE_COLUMN_METADATA"
45 47
46PACKAGES = "lib${BPN} lib${BPN}-dev lib${BPN}-doc ${PN}-dbg lib${BPN}-staticdev ${PN}" 48PACKAGES = "lib${BPN} lib${BPN}-dev lib${BPN}-doc ${PN}-dbg lib${BPN}-staticdev ${PN}"