[OE-core] [PATCH] glibc: Enable static PIE support
Khem Raj
raj.khem at gmail.com
Wed Feb 28 20:46:07 UTC 2018
go programs when compiled with PIE fails otherwise on aarch64
Signed-off-by: Khem Raj <raj.khem at gmail.com>
---
meta/recipes-core/glibc/glibc_2.27.bb | 1 +
1 file changed, 1 insertion(+)
diff --git a/meta/recipes-core/glibc/glibc_2.27.bb b/meta/recipes-core/glibc/glibc_2.27.bb
index e9d4117a47..62db3e9d02 100644
--- a/meta/recipes-core/glibc/glibc_2.27.bb
+++ b/meta/recipes-core/glibc/glibc_2.27.bb
@@ -81,6 +81,7 @@ EXTRA_OECONF = "--enable-kernel=${OLDEST_KERNEL} \
--enable-bind-now \
--enable-stack-protector=strong \
--enable-stackguard-randomization \
+ --enable-static-pie \
${GLIBC_EXTRA_OECONF}"
EXTRA_OECONF += "${@get_libc_fpu_setting(bb, d)}"
--
2.16.2
More information about the Openembedded-core
mailing list