aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-bsp/grub/grub2.inc
diff options
context:
space:
mode:
authorAlexander Kanavin <alexander.kanavin@linux.intel.com>2016-12-02 21:14:07 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-12-08 10:26:12 +0000
commitaaff6c99dde3f1058bb3c4b320f27753c6c992ad (patch)
tree0ad2461662a7df2127c8c4c4c7bf2b075f5197ec /meta/recipes-bsp/grub/grub2.inc
parente6c1765a05c1321f08f3d1fb521dfe6b07bc8e92 (diff)
downloadopenembedded-core-contrib-aaff6c99dde3f1058bb3c4b320f27753c6c992ad.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. Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
Diffstat (limited to 'meta/recipes-bsp/grub/grub2.inc')
-rw-r--r--meta/recipes-bsp/grub/grub2.inc1
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 \
file://0001-Remove-direct-_llseek-code-and-require-long-filesyst.patch \
file://fix-texinfo.patch \
file://0001-grub-core-gettext-gettext.c-main_context-secondary_c.patch \
+ file://0001-Enforce-no-pie-if-the-compiler-supports-it.patch \
"
DEPENDS = "flex-native bison-native autogen-native"