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 10:58:55 +0100 |
commit | 7c8b85e1c3d852975cd5961a297aa939bf4c7fe7 (patch) | |
tree | 64e4f7a6a63f5cac228054c5dfc7567ddeb19752 | |
parent | 57f1f5708306a6121b1172c5163c6566d5bcb89c (diff) | |
download | openembedded-core-7c8b85e1c3d852975cd5961a297aa939bf4c7fe7.tar.gz openembedded-core-7c8b85e1c3d852975cd5961a297aa939bf4c7fe7.tar.bz2 openembedded-core-7c8b85e1c3d852975cd5961a297aa939bf4c7fe7.zip |
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.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-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" # 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}" |