aboutsummaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-support
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2016-11-14 17:50:21 +0000
committerArmin Kuster <akuster808@gmail.com>2016-11-29 08:22:23 -0800
commit6a0899986fb91b98e31ab0af26860a673a4ecff2 (patch)
tree654b63482e5fd37f83f6f8c8a8b764e3ca987094 /meta-oe/recipes-support
parentae254b4d16034e6e1cd8a46ce67edd4c34a83d7d (diff)
downloadmeta-openembedded-contrib-6a0899986fb91b98e31ab0af26860a673a4ecff2.tar.gz
meta-openembedded-contrib-6a0899986fb91b98e31ab0af26860a673a4ecff2.tar.bz2
meta-openembedded-contrib-6a0899986fb91b98e31ab0af26860a673a4ecff2.zip
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@gmail.com> (cherry picked from commit 5d22f066174e12799c11466dc37b6111a5864118) Signed-off-by: Armin Kuster <akuster808@gmail.com>
Diffstat (limited to 'meta-oe/recipes-support')
-rw-r--r--meta-oe/recipes-support/openldap/openldap_2.4.44.bb2
1 files changed, 1 insertions, 1 deletions
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 4e95a775c1..05ffc5ce3b 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"