diff options
Diffstat (limited to 'tools/dosfstools/Makefile')
-rw-r--r-- | tools/dosfstools/Makefile | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/tools/dosfstools/Makefile b/tools/dosfstools/Makefile index 56a9aa5e87..7b1e22e894 100644 --- a/tools/dosfstools/Makefile +++ b/tools/dosfstools/Makefile @@ -20,13 +20,10 @@ HOST_BUILD_DIR:=$(BUILD_DIR_HOST)/$(PKG_NAME)-$(PKG_VERSION) include $(INCLUDE_DIR)/host-build.mk ifeq ($(HOST_OS),Darwin) +HOST_CFLAGS += -UHAVE_ENDIAN_H LDLIBS += -liconv endif -define Host/Compile - $(MAKE) -C $(HOST_BUILD_DIR) SHELL="$(BASH)" LDFLAGS="$(HOST_LDFLAGS)" LDLIBS="$(LDLIBS)" -endef - define Host/Install $(INSTALL_BIN) $(HOST_BUILD_DIR)/src/mkfs.fat $(STAGING_DIR_HOST)/bin/ $(LN) mkfs.fat $(STAGING_DIR_HOST)/bin/mkdosfs |