summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/glibc
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2018-03-01 18:26:34 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-03-01 22:18:47 +0000
commit8ec37c0811a57f779896ccdaf8d7f3f66f81f3bb (patch)
tree5561658103b080c236a80d76dd5c0c3645d4cb89 /meta/recipes-core/glibc
parentde4b8febd8ae1c57742bd3452b6889814b2fd3ef (diff)
downloadpoky-8ec37c0811a57f779896ccdaf8d7f3f66f81f3bb.tar.gz
glibc: Enable static PIE support when security_flags are enabled
(From OE-Core rev: 8e4ece7bf0b09275a34ce8e7cc3e1e54a366c361) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core/glibc')
-rw-r--r--meta/recipes-core/glibc/glibc_2.27.bb3
1 files changed, 3 insertions, 0 deletions
diff --git a/meta/recipes-core/glibc/glibc_2.27.bb b/meta/recipes-core/glibc/glibc_2.27.bb
index 2434c06105..bcc1acfbc2 100644
--- a/meta/recipes-core/glibc/glibc_2.27.bb
+++ b/meta/recipes-core/glibc/glibc_2.27.bb
@@ -69,6 +69,8 @@ GLIBC_BROKEN_LOCALES = ""
69# 69#
70COMPATIBLE_HOST_libc-musl_class-target = "null" 70COMPATIBLE_HOST_libc-musl_class-target = "null"
71 71
72GLIBCPIE ??= ""
73
72EXTRA_OECONF = "--enable-kernel=${OLDEST_KERNEL} \ 74EXTRA_OECONF = "--enable-kernel=${OLDEST_KERNEL} \
73 --without-cvs --disable-profile \ 75 --without-cvs --disable-profile \
74 --disable-debug --without-gd \ 76 --disable-debug --without-gd \
@@ -82,6 +84,7 @@ EXTRA_OECONF = "--enable-kernel=${OLDEST_KERNEL} \
82 --enable-bind-now \ 84 --enable-bind-now \
83 --enable-stack-protector=strong \ 85 --enable-stack-protector=strong \
84 --enable-stackguard-randomization \ 86 --enable-stackguard-randomization \
87 ${GLIBCPIE} \
85 ${GLIBC_EXTRA_OECONF}" 88 ${GLIBC_EXTRA_OECONF}"
86 89
87EXTRA_OECONF += "${@get_libc_fpu_setting(bb, d)}" 90EXTRA_OECONF += "${@get_libc_fpu_setting(bb, d)}"