From 1e3d3d2bd5da9d0c4069a4049358fa983dffa8bd Mon Sep 17 00:00:00 2001 From: Kevin Darbyshire-Bryant Date: Fri, 10 Apr 2020 11:37:26 +0100 Subject: [PATCH] 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 --- tools/e2fsprogs/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/e2fsprogs/Makefile b/tools/e2fsprogs/Makefile index 039959e424..d7c994c338 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)