mirror of
https://codeberg.org/kiss-community/repo
synced 2024-12-22 23:30:05 -07:00
grub: Fix build after GCC changes
This commit is contained in:
parent
1a9ada8112
commit
eecc3f2fbb
@ -3,6 +3,9 @@
|
|||||||
# Grub is built in a function so the script argument needs to be stored.
|
# Grub is built in a function so the script argument needs to be stored.
|
||||||
pkg_dir=$1
|
pkg_dir=$1
|
||||||
|
|
||||||
|
# Fix -pie linker errors.
|
||||||
|
sed -i '/EFIEMU64_LINK_FORMAT=/s/"$/ -no-pie"/' grub/configure
|
||||||
|
|
||||||
build_grub() (
|
build_grub() (
|
||||||
cp -a grub "grub-${1##*=}"
|
cp -a grub "grub-${1##*=}"
|
||||||
cd "grub-${1##*=}"
|
cd "grub-${1##*=}"
|
||||||
|
Loading…
Reference in New Issue
Block a user