mirror of
https://git.yoctoproject.org/poky
synced 2026-05-07 16:59:22 +00:00
sqlite: build position-independent code
pseudo links against this and uses PIC, so some toolchain combinations will refuse to link against sqlite unless it is also PIC. (From OE-Core rev: 6a58e12d19c539deac9e90679a68438497a42fa4) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
b010c327c7
commit
7db7950367
@@ -31,6 +31,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"
|
||||
|
||||
Reference in New Issue
Block a user