summaryrefslogtreecommitdiffstats
path: root/package/grub
diff options
context:
space:
mode:
authoracoul <acoul@3c298f89-4303-0410-b956-a3cf2f4a3e73>2010-10-01 16:39:08 +0000
committeracoul <acoul@3c298f89-4303-0410-b956-a3cf2f4a3e73>2010-10-01 16:39:08 +0000
commitf55c08db991c8d530fee53c06a51a84c9348bf57 (patch)
treeb7ae9cc90cf6977f5b575c5e45f4d3a57889ebf6 /package/grub
parent0af92c3edba0a538ce11c89021b62692d3548735 (diff)
tools/mtd-utils: update to mtd-utils-20101001, fix FreeBSD (and hopefully Darwin) build issues.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23169 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/grub')
-rw-r--r--package/grub/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/package/grub/Makefile b/package/grub/Makefile
index ee527be13..502035a1c 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)