diff options
author | Alexander Kanavin <alexander.kanavin@linux.intel.com> | 2016-12-02 21:14:07 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-01-11 17:21:44 +0000 |
commit | e8b00a62b160e2d118c0a94a53e72198b79eedf3 (patch) | |
tree | d2a1e917aa78d527cd93c76864f85a267f79baf0 /meta/recipes-bsp/grub/grub2.inc | |
parent | 4dd5ede47276eb3e5bd21a5c51cdb5c8266b27ee (diff) | |
download | poky-e8b00a62b160e2d118c0a94a53e72198b79eedf3.tar.gz |
grub2: enforce -no-pie if supported by compiler
Recent distros are enabling -pie by default; in case of grub
we need to turn it off.
(From OE-Core rev: aaff6c99dde3f1058bb3c4b320f27753c6c992ad)
(From OE-Core rev: ba7cfc296b07fe62d46a6c143d9a7d344de9f446)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-bsp/grub/grub2.inc')
-rw-r--r-- | meta/recipes-bsp/grub/grub2.inc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/recipes-bsp/grub/grub2.inc b/meta/recipes-bsp/grub/grub2.inc index b10f633aae..f64198d9f0 100644 --- a/meta/recipes-bsp/grub/grub2.inc +++ b/meta/recipes-bsp/grub/grub2.inc | |||
@@ -32,6 +32,7 @@ SRC_URI = "ftp://ftp.gnu.org/gnu/grub/grub-${PV}.tar.gz \ | |||
32 | file://0001-Remove-direct-_llseek-code-and-require-long-filesyst.patch \ | 32 | file://0001-Remove-direct-_llseek-code-and-require-long-filesyst.patch \ |
33 | file://fix-texinfo.patch \ | 33 | file://fix-texinfo.patch \ |
34 | file://0001-grub-core-gettext-gettext.c-main_context-secondary_c.patch \ | 34 | file://0001-grub-core-gettext-gettext.c-main_context-secondary_c.patch \ |
35 | file://0001-Enforce-no-pie-if-the-compiler-supports-it.patch \ | ||
35 | " | 36 | " |
36 | 37 | ||
37 | DEPENDS = "flex-native bison-native autogen-native" | 38 | DEPENDS = "flex-native bison-native autogen-native" |