[oe-commits] [meta-openembedded] 62/69: openldap: Fix Build error due to missing -fPIC
git at git.openembedded.org
git at git.openembedded.org
Tue Dec 13 10:15:09 UTC 2016
martin_jansa pushed a commit to branch morty-next
in repository meta-openembedded.
commit 6a0899986fb91b98e31ab0af26860a673a4ecff2
Author: Khem Raj <raj.khem at gmail.com>
AuthorDate: Mon Nov 14 17:50:21 2016 +0000
openldap: Fix Build error due to missing -fPIC
Fixes errors e.g.
relocation R_AARCH64_ADR_PREL_PG_HI21 against external symbol `stderr@@GLIBC_2.17' can not be us
ed when making a shared object; recompile with -fPIC
Signed-off-by: Khem Raj <raj.khem at gmail.com>
(cherry picked from commit 5d22f066174e12799c11466dc37b6111a5864118)
Signed-off-by: Armin Kuster <akuster808 at gmail.com>
---
meta-oe/recipes-support/openldap/openldap_2.4.44.bb | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/meta-oe/recipes-support/openldap/openldap_2.4.44.bb b/meta-oe/recipes-support/openldap/openldap_2.4.44.bb
index 4e95a77..05ffc5c 100644
--- a/meta-oe/recipes-support/openldap/openldap_2.4.44.bb
+++ b/meta-oe/recipes-support/openldap/openldap_2.4.44.bb
@@ -148,7 +148,7 @@ PACKAGES += "${PN}-overlay-proxycache"
# Append URANDOM_DEVICE='/dev/urandom' to CPPFLAGS:
# This allows tls to obtain random bits from /dev/urandom, by default
# it was disabled for cross-compiling.
-CPPFLAGS_append = " -D_GNU_SOURCE -DURANDOM_DEVICE=\'/dev/urandom\'"
+CPPFLAGS_append = " -D_GNU_SOURCE -DURANDOM_DEVICE=\'/dev/urandom\' -fPIC"
LDFLAGS += "-pthread"
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Openembedded-commits
mailing list