diff options
Diffstat (limited to 'meta/recipes-support/sqlite/sqlite3.inc')
-rw-r--r-- | meta/recipes-support/sqlite/sqlite3.inc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/recipes-support/sqlite/sqlite3.inc b/meta/recipes-support/sqlite/sqlite3.inc index 5bff33b851..80424c9cd6 100644 --- a/meta/recipes-support/sqlite/sqlite3.inc +++ b/meta/recipes-support/sqlite/sqlite3.inc | |||
@@ -31,6 +31,8 @@ EXTRA_OECONF = " \ | |||
31 | --disable-static-shell \ | 31 | --disable-static-shell \ |
32 | " | 32 | " |
33 | 33 | ||
34 | CFLAGS_append = " -fPIC" | ||
35 | |||
34 | # pread() is in POSIX.1-2001 so any reasonable system must surely support it | 36 | # pread() is in POSIX.1-2001 so any reasonable system must surely support it |
35 | BUILD_CFLAGS += "-DUSE_PREAD" | 37 | BUILD_CFLAGS += "-DUSE_PREAD" |
36 | TARGET_CFLAGS += "-DUSE_PREAD" | 38 | TARGET_CFLAGS += "-DUSE_PREAD" |