summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--user/grub/APKBUILD3
1 files changed, 2 insertions, 1 deletions
diff --git a/user/grub/APKBUILD b/user/grub/APKBUILD
index b38abfd3a..4c9c8093f 100644
--- a/user/grub/APKBUILD
+++ b/user/grub/APKBUILD
@@ -3,7 +3,7 @@
pkgname=grub
pkgver=2.12_rc1
_pkgver=$(printf '%s' "$pkgver" | tr _ \~)
-pkgrel=0
+pkgrel=1
pkgdesc="Boot loader with support for Linux, Multiboot and more"
url="https://www.gnu.org/software/grub/"
arch="all"
@@ -58,6 +58,7 @@ _build_flavor() {
flavor="$1"
shift
_configure="$@"
+ CFLAGS="${CFLAGS} -fno-reorder-functions" # Workaround for image#403
case $CTARGET_ARCH in
ppc64) export CFLAGS="${CFLAGS} -mno-altivec";; # Workaround for http://savannah.gnu.org/bugs/?52629
esac