projects
/
openwrt
/
staging
/
xback.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8b93a24
)
tools/e2fsprogs: fix build under macos
author
Kevin Darbyshire-Bryant
<
[email protected]
>
Fri, 10 Apr 2020 10:37:26 +0000
(11:37 +0100)
committer
Kevin Darbyshire-Bryant
<
[email protected]
>
Fri, 10 Apr 2020 10:52:00 +0000
(11:52 +0100)
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 <
[email protected]
>
tools/e2fsprogs/Makefile
patch
|
blob
|
history
diff --git
a/tools/e2fsprogs/Makefile
b/tools/e2fsprogs/Makefile
index 039959e4248cc7c0d53e11afc4dc9487bd2f6074..d7c994c3385d853c22f1e505ceb4d8d419ddd0fc 100644
(file)
--- 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)