summaryrefslogtreecommitdiffstats
path: root/package/xinetd/xinetd.mk
diff options
context:
space:
mode:
Diffstat (limited to 'package/xinetd/xinetd.mk')
-rw-r--r--package/xinetd/xinetd.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/package/xinetd/xinetd.mk b/package/xinetd/xinetd.mk
index 2ab254627..6a69a554e 100644
--- a/package/xinetd/xinetd.mk
+++ b/package/xinetd/xinetd.mk
@@ -7,4 +7,8 @@ XINETD_VERSION = 2.3.15
XINETD_SOURCE = xinetd-$(XINETD_VERSION).tar.gz
XINETD_SITE = http://www.xinetd.org
+ifneq ($(BR2_INET_RPC),y)
+XINETD_CONF_ENV = CFLAGS="$(TARGET_CFLAGS) -DNO_RPC"
+endif
+
$(eval $(call AUTOTARGETS))