tools/mtd-utils: update to mtd-utils-20101001, fix FreeBSD (and hopefully Darwin) build issues.

SVN-Revision: 23169
This commit is contained in:
Alexandros C. Couloumbis
2010-10-01 16:39:08 +00:00
parent 42a49519f0
commit 930031c5d1
11 changed files with 295 additions and 58 deletions

View File

@@ -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)