[oe-commits] [openembedded-core] 07/41: openssl-native: Compile with -fPIC

git at git.openembedded.org git at git.openembedded.org
Tue Aug 29 14:13:28 UTC 2017


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

rpurdie pushed a commit to branch morty-next
in repository openembedded-core.

commit 9e6a0da06aa832fbce06326622744b2a5ab9c091
Author: Khem Raj <raj.khem at gmail.com>
AuthorDate: Wed May 10 11:37:05 2017 +0200

    openssl-native: Compile with -fPIC
    
    Fixes
    | /usr/bin/ld: libcrypto.a(sha1-x86_64.o): relocation R_X86_64_PC32 against undefined symbol `OPENSSL_ia32cap_P' can not be used when making a shared object; recompile with -fPIC
    | /usr/bin/ld: final link failed: Bad value
    
    Signed-off-by: Khem Raj <raj.khem at gmail.com>
    (cherry picked from commit 0a19e72081771fca8ed94fb2a2a8996fd3dce00c)
    Signed-off-by: Mirza Krak <mirza.krak at endian.se>
    Signed-off-by: Armin Kuster <akuster808 at gmail.com>
---
 meta/recipes-connectivity/openssl/openssl_1.0.2j.bb | 1 +
 1 file changed, 1 insertion(+)

diff --git a/meta/recipes-connectivity/openssl/openssl_1.0.2j.bb b/meta/recipes-connectivity/openssl/openssl_1.0.2j.bb
index 9a7cded..b6fb126 100644
--- a/meta/recipes-connectivity/openssl/openssl_1.0.2j.bb
+++ b/meta/recipes-connectivity/openssl/openssl_1.0.2j.bb
@@ -5,6 +5,7 @@ require openssl.inc
 DEPENDS += "cryptodev-linux"
 
 CFLAG += "-DHAVE_CRYPTODEV -DUSE_CRYPTODEV_DIGESTS"
+CFLAG_append_class-native = " -fPIC"
 
 LIC_FILES_CHKSUM = "file://LICENSE;md5=27ffa5d74bb5a337056c14b2ef93fbf6"
 

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


More information about the Openembedded-commits mailing list