diff options
author | Andre McCurdy <armccurdy@gmail.com> | 2019-08-23 13:51:43 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-08-27 22:52:41 +0100 |
commit | b02d83f7ffc72b96799a7964a90709eef02aa29d (patch) | |
tree | cbba8d347d5b61695cbee9767fcde2cbe51eb4eb /meta/recipes-support/sqlite | |
parent | e9f751a6fd6a4fc1cfac74202e1b71291aade705 (diff) | |
download | openembedded-core-contrib-b02d83f7ffc72b96799a7964a90709eef02aa29d.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.
Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-support/sqlite')
-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 = " \ CFLAGS_append = " -fPIC" # pread() is in POSIX.1-2001 so any reasonable system must surely support it -CFLAGS += "-DUSE_PREAD" +CFLAGS_append = " -DUSE_PREAD" # Provide column meta-data API -CFLAGS += "-DSQLITE_ENABLE_COLUMN_METADATA" +CFLAGS_append = " -DSQLITE_ENABLE_COLUMN_METADATA" PACKAGES = "lib${BPN} lib${BPN}-dev lib${BPN}-doc ${PN}-dbg lib${BPN}-staticdev ${PN}" |