mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-08-12 06:21:02 +00:00
snappy: add -fPIC flags
Let the libsnappy.a be position independent code, so other packages can use it to make shared PIC library, such as ceph. Signed-off-by: Dengke Du <dengke.du@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
parent
bae481e933
commit
a8c59cfdee
@ -19,3 +19,4 @@ inherit cmake pkgconfig
|
||||
|
||||
PACKAGECONFIG ??= ""
|
||||
PACKAGECONFIG[lzo] = "-DHAVE_LIBLZO2=1,-DHAVE_LIBLZO2=0,lzo,"
|
||||
TARGET_CFLAGS += "-fPIC"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user