From eecc3f2fbb737af5d7cba103286f035ebf1c7db2 Mon Sep 17 00:00:00 2001 From: Dylan Araps Date: Sun, 9 Feb 2020 16:36:18 +0200 Subject: [PATCH] grub: Fix build after GCC changes --- core/grub/build | 3 +++ 1 file changed, 3 insertions(+) diff --git a/core/grub/build b/core/grub/build index d0cee821..5eca533b 100755 --- a/core/grub/build +++ b/core/grub/build @@ -3,6 +3,9 @@ # Grub is built in a function so the script argument needs to be stored. pkg_dir=$1 +# Fix -pie linker errors. +sed -i '/EFIEMU64_LINK_FORMAT=/s/"$/ -no-pie"/' grub/configure + build_grub() ( cp -a grub "grub-${1##*=}" cd "grub-${1##*=}"