X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/bce2ee856995019670fac4de1a31c5676fb1ee01..a85e4d1eb9b4b46b2e4b5372c9f93d24fb125754:/package/grub/Makefile diff --git a/package/grub/Makefile b/package/grub/Makefile index 9a50f820e..20232f495 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 \