summaryrefslogtreecommitdiff
path: root/user/grub/APKBUILD
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2019-06-25 03:50:23 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2019-06-25 03:50:23 +0000
commitf8bfd713b064991dfc46cbb7817829315932af67 (patch)
tree12e6cdb53bc1925778624527a162e1cb41946363 /user/grub/APKBUILD
parenta80954d7d9069bd2c671dc34066fa28c0f7768cf (diff)
downloadpackages-f8bfd713b064991dfc46cbb7817829315932af67.tar.gz
packages-f8bfd713b064991dfc46cbb7817829315932af67.tar.bz2
packages-f8bfd713b064991dfc46cbb7817829315932af67.tar.xz
packages-f8bfd713b064991dfc46cbb7817829315932af67.zip
user/grub: fix ppc64, shoutout to @q66
Diffstat (limited to 'user/grub/APKBUILD')
-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