package/grub: fix x86_64 issue (closes #7248)
[openwrt.git] / package / grub / Makefile
index 9a50f82..20232f4 100644 (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 \
This page took 0.020667 seconds and 4 git commands to generate.