diff options
author | Andre McCurdy <armccurdy@gmail.com> | 2019-08-23 13:51:43 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-08-28 11:31:22 +0100 |
commit | 429f2e933e5e8f1c6a9a2190f222012fc72c3d70 (patch) | |
tree | 013f3f9ba1fa4d22bbc132ef2ca29ac22b24df83 /meta/recipes-support/sqlite/sqlite3.inc | |
parent | b054f8d3ba1dd20988ed928ab309d5664447afc1 (diff) | |
download | poky-429f2e933e5e8f1c6a9a2190f222012fc72c3d70.tar.gz |
sqlite3: make CFLAGS consistent across native, nativesdk and target cases
The previous simplification:
https://git.openembedded.org/openembedded-core/commit/?id=604777acfc54d285f315b622bd147ed02d55d6fd
looked OK but didn't actually work as expected. The native and
nativesdk classes re-set CFLAGS after the += has been applied and
so any modifications made via += are lost. Use _append instead.
(From OE-Core rev: b02d83f7ffc72b96799a7964a90709eef02aa29d)
Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-support/sqlite/sqlite3.inc')
-rw-r--r-- | meta/recipes-support/sqlite/sqlite3.inc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/recipes-support/sqlite/sqlite3.inc b/meta/recipes-support/sqlite/sqlite3.inc index 7cf23d0447..044af5ee97 100644 --- a/meta/recipes-support/sqlite/sqlite3.inc +++ b/meta/recipes-support/sqlite/sqlite3.inc | |||
@@ -47,10 +47,10 @@ EXTRA_OECONF = " \ | |||
47 | CFLAGS_append = " -fPIC" | 47 | CFLAGS_append = " -fPIC" |
48 | 48 | ||
49 | # pread() is in POSIX.1-2001 so any reasonable system must surely support it | 49 | # pread() is in POSIX.1-2001 so any reasonable system must surely support it |
50 | CFLAGS += "-DUSE_PREAD" | 50 | CFLAGS_append = " -DUSE_PREAD" |
51 | 51 | ||
52 | # Provide column meta-data API | 52 | # Provide column meta-data API |
53 | CFLAGS += "-DSQLITE_ENABLE_COLUMN_METADATA" | 53 | CFLAGS_append = " -DSQLITE_ENABLE_COLUMN_METADATA" |
54 | 54 | ||
55 | PACKAGES = "lib${BPN} lib${BPN}-dev lib${BPN}-doc ${PN}-dbg lib${BPN}-staticdev ${PN}" | 55 | PACKAGES = "lib${BPN} lib${BPN}-dev lib${BPN}-doc ${PN}-dbg lib${BPN}-staticdev ${PN}" |
56 | 56 | ||