diff options
author | dengke.du@windriver.com <dengke.du@windriver.com> | 2018-08-28 15:39:54 +0800 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2018-08-28 09:36:28 -0700 |
commit | a8c59cfdee69f5923551b374746094ed4a8ff813 (patch) | |
tree | c8df166f2b27e098b538770fdb9d2111164510e1 /meta-oe/recipes-extended/snappy/snappy_1.1.7.bb | |
parent | bae481e9331f1357660df1720221134fefabc526 (diff) | |
download | meta-openembedded-a8c59cfdee69f5923551b374746094ed4a8ff813.tar.gz |
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>
Diffstat (limited to 'meta-oe/recipes-extended/snappy/snappy_1.1.7.bb')
-rw-r--r-- | meta-oe/recipes-extended/snappy/snappy_1.1.7.bb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/meta-oe/recipes-extended/snappy/snappy_1.1.7.bb b/meta-oe/recipes-extended/snappy/snappy_1.1.7.bb index 6f1978a07..70223be49 100644 --- a/meta-oe/recipes-extended/snappy/snappy_1.1.7.bb +++ b/meta-oe/recipes-extended/snappy/snappy_1.1.7.bb | |||
@@ -19,3 +19,4 @@ inherit cmake pkgconfig | |||
19 | 19 | ||
20 | PACKAGECONFIG ??= "" | 20 | PACKAGECONFIG ??= "" |
21 | PACKAGECONFIG[lzo] = "-DHAVE_LIBLZO2=1,-DHAVE_LIBLZO2=0,lzo," | 21 | PACKAGECONFIG[lzo] = "-DHAVE_LIBLZO2=1,-DHAVE_LIBLZO2=0,lzo," |
22 | TARGET_CFLAGS += "-fPIC" | ||