summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--user/grub/APKBUILD3
1 files changed, 3 insertions, 0 deletions
diff --git a/user/grub/APKBUILD b/user/grub/APKBUILD
index 7c3123ecb..6e5ff59c7 100644
--- a/user/grub/APKBUILD
+++ b/user/grub/APKBUILD
@@ -45,6 +45,9 @@ _build_flavor() {
local flavor="$1"
shift
local _configure="$@"
+ case $CTARGET_ARCH in
+ ppc64) export CFLAGS="-O2 -ggdb -mcpu=970";; # Workaround for http://savannah.gnu.org/bugs/?52629
+ esac
msg "Building grub for platform $flavor"
mkdir -p "$srcdir"/build-$flavor