On Fri, Jun 15, 2018 at 12:58 AM S. Lockwood-Childs <s...@vctlabs.com> wrote: > > Enable use of pread() and enable column metadata API for nativesdk builds. > This brings nativesdk in line with target and native builds. > --- > 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" >
Perhaps, we can just add it to CPPFLAGS and remove all three lines above > # Provide column meta-data API > BUILD_CFLAGS += "-DSQLITE_ENABLE_COLUMN_METADATA" > +BUILDSDK_CFLAGS += "-DSQLITE_ENABLE_COLUMN_METADATA" > TARGET_CFLAGS += "-DSQLITE_ENABLE_COLUMN_METADATA" > same as above > PACKAGES = "lib${BPN} lib${BPN}-dev lib${BPN}-doc ${PN}-dbg > lib${BPN}-staticdev ${PN}" > -- > 1.9.4 > > -- > _______________________________________________ > Openembedded-core mailing list > Openembedded-core@lists.openembedded.org > http://lists.openembedded.org/mailman/listinfo/openembedded-core -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core