aboutsummaryrefslogtreecommitdiff
path: root/package/xinetd/xinetd.mk
diff options
context:
space:
mode:
authorGravatar Peter Korsgaard <jacmet@sunsite.dk>2012-06-16 22:58:26 +0200
committerGravatar Peter Korsgaard <jacmet@sunsite.dk>2012-06-16 22:58:26 +0200
commit1a4b482776db83e331ff787d01512f6d52610f2a (patch)
treeddea59a6afa93faac272c501d500b8e21ae296e2 /package/xinetd/xinetd.mk
parentdb21bfcfd42c217bce28d08b3bc439408c0f2a82 (diff)
downloadbuildroot-1a4b482776db83e331ff787d01512f6d52610f2a.tar.gz
buildroot-1a4b482776db83e331ff787d01512f6d52610f2a.tar.bz2
xinetd: fix build without RPC support
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
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 2ab2546270..6a69a554eb 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))