[oe-commits] [openembedded-core] 50/68: sqlite3: consistent set of features for nativesdk

git at git.openembedded.org git at git.openembedded.org
Mon Jul 2 10:47:12 UTC 2018


This is an automated email from the git hooks/post-receive script.

rpurdie pushed a commit to branch sumo
in repository openembedded-core.

commit b476119fb72511fb384600db659c73c9bd6486e8
Author: S. Lockwood-Childs <sjl at vctlabs.com>
AuthorDate: Fri Jun 15 00:56:18 2018 -0700

    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 at linuxfoundation.org>
    (cherry picked from commit 086610faf03a4c3e01cdb9d69c002b66813d97e3)
    Signed-off-by: Armin Kuster <akuster808 at gmail.com>
---
 meta/recipes-support/sqlite/sqlite3.inc | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/meta/recipes-support/sqlite/sqlite3.inc b/meta/recipes-support/sqlite/sqlite3.inc
index 95ec89c..30847b9 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}"

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list