2
0
mirror of https://codeberg.org/kiss-community/repo synced 2024-07-02 14:02:27 +00:00

grub: Fix build after GCC changes

This commit is contained in:
Dylan Araps 2020-02-09 16:36:18 +02:00
parent 1a9ada8112
commit eecc3f2fbb
No known key found for this signature in database
GPG Key ID: 46D62DD9F1DE636E

View File

@ -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##*=}"