package/grub: fix x86_64 issue (closes #7248)

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21264 3c298f89-4303-0410-b956-a3cf2f4a3e73
master
Alexandros C. Couloumbis 2010-04-30 07:07:20 +00:00
parent e7c7c17023
commit 60cfd441cc
1 changed files with 3 additions and 0 deletions

View File

@ -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 \