mirror of
https://github.com/openwrt/openwrt.git
synced 2024-11-26 03:15:50 +08:00
96a7a4738c
Use same fix as homebrew: https://github.com/Homebrew/homebrew-core/pull/69761 Signed-off-by: Kevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk>
32 lines
678 B
Makefile
32 lines
678 B
Makefile
#
|
|
# Copyright (C) 2006-2016 OpenWrt.org
|
|
#
|
|
# This is free software, licensed under the GNU General Public License v2.
|
|
# See /LICENSE for more information.
|
|
#
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
PKG_NAME:=findutils
|
|
PKG_CPE_ID:=cpe:/a:gnu:findutils
|
|
PKG_VERSION:=4.8.0
|
|
|
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
|
|
PKG_SOURCE_URL:=@GNU/$(PKG_NAME)
|
|
PKG_HASH:=57127b7e97d91282c6ace556378d5455a9509898297e46e10443016ea1387164
|
|
|
|
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 \
|
|
--disable-nls \
|
|
--without-selinux
|
|
|
|
$(eval $(call HostBuild))
|