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:
dengke.du@windriver.com
2018-08-28 15:39:54 +08:00
committed by Khem Raj
parent bae481e933
commit a8c59cfdee
@@ -19,3 +19,4 @@ inherit cmake pkgconfig
PACKAGECONFIG ??= ""
PACKAGECONFIG[lzo] = "-DHAVE_LIBLZO2=1,-DHAVE_LIBLZO2=0,lzo,"
TARGET_CFLAGS += "-fPIC"