summaryrefslogtreecommitdiffstats
path: root/meta/recipes-support/sqlite/sqlite3.inc
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-support/sqlite/sqlite3.inc')
-rw-r--r--meta/recipes-support/sqlite/sqlite3.inc4
1 files changed, 4 insertions, 0 deletions
diff --git a/meta/recipes-support/sqlite/sqlite3.inc b/meta/recipes-support/sqlite/sqlite3.inc
index 0cc5d65b72..70841f88cb 100644
--- a/meta/recipes-support/sqlite/sqlite3.inc
+++ b/meta/recipes-support/sqlite/sqlite3.inc
@@ -17,6 +17,10 @@ export config_TARGET_LINK = "${CCLD}"
17export config_TARGET_CFLAGS = "${CFLAGS}" 17export config_TARGET_CFLAGS = "${CFLAGS}"
18export config_TARGET_LFLAGS = "${LDFLAGS}" 18export config_TARGET_LFLAGS = "${LDFLAGS}"
19 19
20# pread() is in POSIX.1-2001 so any reasonable system must surely support it
21BUILD_CFLAGS += "-DUSE_PREAD"
22TARGET_CFLAGS += "-DUSE_PREAD"
23
20PACKAGES = "lib${BPN} lib${BPN}-dev lib${BPN}-doc ${PN}-dbg lib${BPN}-staticdev ${PN}" 24PACKAGES = "lib${BPN} lib${BPN}-dev lib${BPN}-doc ${PN}-dbg lib${BPN}-staticdev ${PN}"
21 25
22FILES_${PN} = "${bindir}/*" 26FILES_${PN} = "${bindir}/*"