summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2018-06-16 12:36:09 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-06-18 11:07:57 +0100
commit44b185581d2635bbd9494086018c64314ab83934 (patch)
tree162e2d151bcc110ca44f4c586d148a4b6ae22632
parent4957ec32c240e502accdb7eea5499ac316375c8a (diff)
downloadpoky-44b185581d2635bbd9494086018c64314ab83934.tar.gz
sqlite3: Merge/simplify CFLAGS
An earlier version of a change was merged from S. Lockwood-Childs <sjl@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. (From OE-Core rev: 604777acfc54d285f315b622bd147ed02d55d6fd) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-support/sqlite/sqlite3.inc8
1 files changed, 2 insertions, 6 deletions
diff --git a/meta/recipes-support/sqlite/sqlite3.inc b/meta/recipes-support/sqlite/sqlite3.inc
index 30847b958f..1834867d10 100644
--- a/meta/recipes-support/sqlite/sqlite3.inc
+++ b/meta/recipes-support/sqlite/sqlite3.inc
@@ -36,14 +36,10 @@ EXTRA_OECONF = " \
36CFLAGS_append = " -fPIC" 36CFLAGS_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
39BUILD_CFLAGS += "-DUSE_PREAD" 39CFLAGS += "-DUSE_PREAD"
40BUILDSDK_CFLAGS += "-DUSE_PREAD"
41TARGET_CFLAGS += "-DUSE_PREAD"
42 40
43# Provide column meta-data API 41# Provide column meta-data API
44BUILD_CFLAGS += "-DSQLITE_ENABLE_COLUMN_METADATA" 42CFLAGS += "-DSQLITE_ENABLE_COLUMN_METADATA"
45BUILDSDK_CFLAGS += "-DSQLITE_ENABLE_COLUMN_METADATA"
46TARGET_CFLAGS += "-DSQLITE_ENABLE_COLUMN_METADATA"
47 43
48PACKAGES = "lib${BPN} lib${BPN}-dev lib${BPN}-doc ${PN}-dbg lib${BPN}-staticdev ${PN}" 44PACKAGES = "lib${BPN} lib${BPN}-dev lib${BPN}-doc ${PN}-dbg lib${BPN}-staticdev ${PN}"
49 45