mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-06-04 14:39:54 +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:
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"
|
||||
|
||||
Reference in New Issue
Block a user