From: Kevin Darbyshire-Bryant Date: Fri, 10 Apr 2020 10:37:26 +0000 (+0100) Subject: tools/e2fsprogs: fix build under macos X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=1e3d3d2bd5da9d0c4069a4049358fa983dffa8bd;p=openwrt%2Fstaging%2Frmilecki.git tools/e2fsprogs: fix build under macos macos doesn't define a loff_t type, the native off_t type being 64bit anyway. Persuade e2fsprogs to accept off_t instead on macos Signed-off-by: Kevin Darbyshire-Bryant --- diff --git a/tools/e2fsprogs/Makefile b/tools/e2fsprogs/Makefile index 039959e4248..d7c994c3385 100644 --- a/tools/e2fsprogs/Makefile +++ b/tools/e2fsprogs/Makefile @@ -21,7 +21,7 @@ HOST_BUILD_PARALLEL:=1 include $(INCLUDE_DIR)/host-build.mk ifneq ($(shell $(HOSTCC) --version | grep clang),) - HOST_CFLAGS += -D__GNUC_PREREQ\(...\)=0 + HOST_CFLAGS += -D__GNUC_PREREQ\(...\)=0 -Dloff_t=off_t endif HOST_CFLAGS += $(FPIC)