diff options
Diffstat (limited to 'import-layers/yocto-poky/meta/recipes-support/sqlite/sqlite3.inc')
-rw-r--r-- | import-layers/yocto-poky/meta/recipes-support/sqlite/sqlite3.inc | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/import-layers/yocto-poky/meta/recipes-support/sqlite/sqlite3.inc b/import-layers/yocto-poky/meta/recipes-support/sqlite/sqlite3.inc index 5bff33b85..95ec89cef 100644 --- a/import-layers/yocto-poky/meta/recipes-support/sqlite/sqlite3.inc +++ b/import-layers/yocto-poky/meta/recipes-support/sqlite/sqlite3.inc @@ -5,7 +5,7 @@ SECTION = "libs" PE = "3" def sqlite_download_version(d): - pvsplit = d.getVar('PV', True).split('.') + pvsplit = d.getVar('PV').split('.') if len(pvsplit) < 4: pvsplit.append('0') return pvsplit[0] + ''.join([part.rjust(2,'0') for part in pvsplit[1:]]) @@ -17,6 +17,8 @@ S = "${WORKDIR}/sqlite-autoconf-${SQLITE_PV}" UPSTREAM_CHECK_URI = "http://www.sqlite.org/" UPSTREAM_CHECK_REGEX = "releaselog/(?P<pver>(\d+[\.\-_]*)+)\.html" +CVE_PRODUCT = "sqlite" + inherit autotools pkgconfig PACKAGECONFIG ?= "" @@ -31,6 +33,8 @@ EXTRA_OECONF = " \ --disable-static-shell \ " +CFLAGS_append = " -fPIC" + # pread() is in POSIX.1-2001 so any reasonable system must surely support it BUILD_CFLAGS += "-DUSE_PREAD" TARGET_CFLAGS += "-DUSE_PREAD" |