From 5dab71a4026a43ee90f05111d5c49734e3d16015 Mon Sep 17 00:00:00 2001 From: "Alexandros C. Couloumbis" Date: Fri, 1 Oct 2010 16:39:08 +0000 Subject: 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 --- package/grub/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'package/grub/Makefile') diff --git a/package/grub/Makefile b/package/grub/Makefile index ee527be13f..502035a1c5 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) -- cgit v1.2.3