summaryrefslogtreecommitdiff
path: root/package/grub/Makefile
diff options
context:
space:
mode:
authorAlexandros C. Couloumbis <alex@ozo.com>2010-10-01 16:39:08 +0000
committerAlexandros C. Couloumbis <alex@ozo.com>2010-10-01 16:39:08 +0000
commit930031c5d10ce5c4e15979ee0547eb2399709bc7 (patch)
tree42aae04dff446edc875829bc04f650da6211b7a6 /package/grub/Makefile
parent42a49519f011d2531099fc68ce764c82c4dd84c8 (diff)
downloadmtk-20170518-930031c5d10ce5c4e15979ee0547eb2399709bc7.zip
mtk-20170518-930031c5d10ce5c4e15979ee0547eb2399709bc7.tar.gz
mtk-20170518-930031c5d10ce5c4e15979ee0547eb2399709bc7.tar.bz2
tools/mtd-utils: update to mtd-utils-20101001, fix FreeBSD (and hopefully Darwin) build issues.
SVN-Revision: 23169
Diffstat (limited to 'package/grub/Makefile')
-rw-r--r--package/grub/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/package/grub/Makefile b/package/grub/Makefile
index ee527be..502035a 100644
--- a/package/grub/Makefile
+++ b/package/grub/Makefile
@@ -49,8 +49,8 @@ ifeq ($(HOST_OS),Darwin)
HOST_CFLAGS += $(call host-cc-option,-fnested-functions)
endif
-ifeq ($(HOST_OS),FreeBSD)
- ifeq ($(HOST_ARCH),amd64)
+ifeq ($(HOST_ARCH),amd64)
+ ifeq ($(HOST_OS),FreeBSD)
HOST_CFLAGS += $(call host-cc-option,-m32)
HOST_CFLAGS += $(call host-cc-option,-B/usr/lib32)
HOST_CFLAGS += $(call host-cc-option,-L/usr/lib32)