diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-06-16 12:36:09 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-06-18 11:07:57 +0100 |
commit | 44b185581d2635bbd9494086018c64314ab83934 (patch) | |
tree | 162e2d151bcc110ca44f4c586d148a4b6ae22632 | |
parent | 4957ec32c240e502accdb7eea5499ac316375c8a (diff) | |
download | poky-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.inc | 8 |
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 = " \ | |||
36 | CFLAGS_append = " -fPIC" | 36 | CFLAGS_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 |
39 | BUILD_CFLAGS += "-DUSE_PREAD" | 39 | CFLAGS += "-DUSE_PREAD" |
40 | BUILDSDK_CFLAGS += "-DUSE_PREAD" | ||
41 | TARGET_CFLAGS += "-DUSE_PREAD" | ||
42 | 40 | ||
43 | # Provide column meta-data API | 41 | # Provide column meta-data API |
44 | BUILD_CFLAGS += "-DSQLITE_ENABLE_COLUMN_METADATA" | 42 | CFLAGS += "-DSQLITE_ENABLE_COLUMN_METADATA" |
45 | BUILDSDK_CFLAGS += "-DSQLITE_ENABLE_COLUMN_METADATA" | ||
46 | TARGET_CFLAGS += "-DSQLITE_ENABLE_COLUMN_METADATA" | ||
47 | 43 | ||
48 | PACKAGES = "lib${BPN} lib${BPN}-dev lib${BPN}-doc ${PN}-dbg lib${BPN}-staticdev ${PN}" | 44 | PACKAGES = "lib${BPN} lib${BPN}-dev lib${BPN}-doc ${PN}-dbg lib${BPN}-staticdev ${PN}" |
49 | 45 | ||