aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tools/findutils/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/findutils/Makefile b/tools/findutils/Makefile
index c40fa6efc1..37cd897355 100644
--- 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 \