[oe-commits] [meta-openembedded] 18/28: snappy: add -fPIC flags

git at git.openembedded.org git at git.openembedded.org
Wed Aug 29 01:33:13 UTC 2018


This is an automated email from the git hooks/post-receive script.

khem pushed a commit to branch master-next
in repository meta-openembedded.

commit a8c59cfdee69f5923551b374746094ed4a8ff813
Author: dengke.du at windriver.com <dengke.du at windriver.com>
AuthorDate: Tue Aug 28 15:39:54 2018 +0800

    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 at windriver.com>
    Signed-off-by: Khem Raj <raj.khem at gmail.com>
---
 meta-oe/recipes-extended/snappy/snappy_1.1.7.bb | 1 +
 1 file changed, 1 insertion(+)

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 6f1978a..70223be 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
 
 PACKAGECONFIG ??= ""
 PACKAGECONFIG[lzo] = "-DHAVE_LIBLZO2=1,-DHAVE_LIBLZO2=0,lzo,"
+TARGET_CFLAGS += "-fPIC"

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list