From 81f5f10a626bd5f9767fecef4ef73b80ab0216d9 Mon Sep 17 00:00:00 2001 From: "Alexandros C. Couloumbis" Date: Fri, 30 Apr 2010 07:07:20 +0000 Subject: [PATCH] package/grub: fix x86_64 issue (closes #7248) SVN-Revision: 21264 --- package/grub/Makefile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/package/grub/Makefile b/package/grub/Makefile index 9a50f820ec..20232f4954 100644 --- a/package/grub/Makefile +++ b/package/grub/Makefile @@ -36,9 +36,12 @@ CONFIGURE_FLAGS:= ifneq ($(HOST_OS),Darwin) define Build/Configure (cd $(PKG_BUILD_DIR); \ + CFLAGS="-march=i486 -m32" \ LDFLAGS="-static" \ ./configure \ $(CONFIGURE_FLAGS) \ + --build=i386-linux-gnu \ + --host=i386-linux-gnu \ --program-prefix="" \ --program-suffix="" \ --prefix=/usr \ -- 2.30.2