projects
/
openwrt
/
staging
/
hauke.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
de0c380
)
tools/findutils: fix build on macos
author
Kevin Darbyshire-Bryant
<
[email protected]
>
Sun, 5 Sep 2021 22:28:16 +0000
(23:28 +0100)
committer
Kevin Darbyshire-Bryant
<
[email protected]
>
Mon, 6 Sep 2021 08:24:23 +0000
(09:24 +0100)
Use same fix as homebrew:
https://github.com/Homebrew/homebrew-core/pull/69761
Signed-off-by: Kevin Darbyshire-Bryant <
[email protected]
>
tools/findutils/Makefile
patch
|
blob
|
history
diff --git
a/tools/findutils/Makefile
b/tools/findutils/Makefile
index c40fa6efc18c1e9be1b51c38ca8705ddd431be79..37cd897355c3c13e799f19437bb1cd01af6ba465 100644
(file)
--- a/
tools/findutils/Makefile
+++ b/
tools/findutils/Makefile
@@
-18,6
+18,10
@@
HOST_BUILD_PARALLEL:=1
include $(INCLUDE_DIR)/host-build.mk
+ifeq ($(HOST_OS),Darwin)
+ HOST_CFLAGS +=-D__nonnull\\(params\\)=
+endif
+
HOST_CONFIGURE_ARGS += \
--enable-threads=pth \
--disable-rpath \