summaryrefslogtreecommitdiff
path: root/libre/grub2
diff options
context:
space:
mode:
authorNicolas Reynolds <fauno@kiwwwi.com.ar>2011-11-30 15:07:45 -0300
committerNicolas Reynolds <fauno@kiwwwi.com.ar>2011-11-30 15:07:45 -0300
commit0d0d9e0930114504c15aa8174e2c7d1d2b7a6744 (patch)
tree4b25597bcdf877196f884870a2c29bbfd27008b5 /libre/grub2
parentc7902b7bc0c7583d1981a6d940b3b98420cf75fa (diff)
grub2: added --with-platform=yeeloong
Diffstat (limited to 'libre/grub2')
-rw-r--r--libre/grub2/PKGBUILD6
1 files changed, 3 insertions, 3 deletions
diff --git a/libre/grub2/PKGBUILD b/libre/grub2/PKGBUILD
index fcad1a38e..3680a5228 100644
--- a/libre/grub2/PKGBUILD
+++ b/libre/grub2/PKGBUILD
@@ -101,15 +101,15 @@ build_grub2-common_and_bios() {
# cd ${srcdir}/grub2_bios-${pkgver}/BUILD_BIOS
if [ "$CARCH" = "mips64el" ]; then
- CFLAGS="-march=loongson2f" ./configure \
- --enable-mm-debug \
+ CFLAGS="" ./configure \
+ --with-platform=yeeloong --enable-mm-debug \
--host=${CARCH}-unknown-linux-gnu \
--enable-grub-mkfont --prefix=/usr \
--bindir=/bin --sbindir=/sbin \
--mandir=/usr/share/man --infodir=/usr/share/info \
--sysconfdir=/etc --enable-nls \
--program-transform-name=s,grub,grub,
- CFLAGS="-march=loongson2f" make
+ CFLAGS="" make
else
CFLAGS="" ./configure \
--with-platform=pc --enable-mm-debug \