[oe-commits] [openembedded-core] 03/57: sqlite3: Merge/simplify CFLAGS

git at git.openembedded.org git at git.openembedded.org
Sat Jun 16 21:35:35 UTC 2018


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

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

commit 2707eb06bfd4f9055937a422f31be29fdfc4b4a6
Author: Richard Purdie <richard.purdie at linuxfoundation.org>
AuthorDate: Sat Jun 16 12:36:09 2018 +0100

    sqlite3: Merge/simplify CFLAGS
    
    An earlier version of a change was merged from S. Lockwood-Childs
    <sjl at vctlabs.com> which made the CFLAGS consistent across native,
    nativesdk and target cases. This syncs with a later verison of the
    patch to remove duplicate CFLAGS settings and simplify the recipe.
    
    Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
 meta/recipes-support/sqlite/sqlite3.inc | 8 ++------
 1 file changed, 2 insertions(+), 6 deletions(-)

diff --git a/meta/recipes-support/sqlite/sqlite3.inc b/meta/recipes-support/sqlite/sqlite3.inc
index 30847b9..1834867d 100644
--- a/meta/recipes-support/sqlite/sqlite3.inc
+++ b/meta/recipes-support/sqlite/sqlite3.inc
@@ -36,14 +36,10 @@ EXTRA_OECONF = " \
 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"
+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"
+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