diff options
author | S. Lockwood-Childs <sjl@vctlabs.com> | 2018-06-15 00:56:18 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-06-15 17:56:24 +0100 |
commit | 086610faf03a4c3e01cdb9d69c002b66813d97e3 (patch) | |
tree | 72905b19049bd25c26cb5d1729e73cbb78430428 /meta/recipes-support | |
parent | 5f3a3d4063814e6732b8c861018b39d5abfc43b4 (diff) | |
download | poky-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.inc | 2 |
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 |
39 | BUILD_CFLAGS += "-DUSE_PREAD" | 39 | BUILD_CFLAGS += "-DUSE_PREAD" |
40 | BUILDSDK_CFLAGS += "-DUSE_PREAD" | ||
40 | TARGET_CFLAGS += "-DUSE_PREAD" | 41 | TARGET_CFLAGS += "-DUSE_PREAD" |
41 | 42 | ||
42 | # Provide column meta-data API | 43 | # Provide column meta-data API |
43 | BUILD_CFLAGS += "-DSQLITE_ENABLE_COLUMN_METADATA" | 44 | BUILD_CFLAGS += "-DSQLITE_ENABLE_COLUMN_METADATA" |
45 | BUILDSDK_CFLAGS += "-DSQLITE_ENABLE_COLUMN_METADATA" | ||
44 | TARGET_CFLAGS += "-DSQLITE_ENABLE_COLUMN_METADATA" | 46 | TARGET_CFLAGS += "-DSQLITE_ENABLE_COLUMN_METADATA" |
45 | 47 | ||
46 | PACKAGES = "lib${BPN} lib${BPN}-dev lib${BPN}-doc ${PN}-dbg lib${BPN}-staticdev ${PN}" | 48 | PACKAGES = "lib${BPN} lib${BPN}-dev lib${BPN}-doc ${PN}-dbg lib${BPN}-staticdev ${PN}" |