summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authordim <dim@FreeBSD.org>2012-02-07 09:27:07 +0000
committerdim <dim@FreeBSD.org>2012-02-07 09:27:07 +0000
commit489adb600f55e6d6efe8f0a5a33c070a9c8335a6 (patch)
treef4288bb4a19e87202aaf6ef984ab4952750e882b /include
parente2807c4b0cf1ff9134ebf7ec353acccf55a3ac51 (diff)
downloadFreeBSD-src-489adb600f55e6d6efe8f0a5a33c070a9c8335a6.zip
FreeBSD-src-489adb600f55e6d6efe8f0a5a33c070a9c8335a6.tar.gz
Consistently set RPCGEN_CPP when running rpcgen, so the C preprocessor
set via ${CPP} is used, instead of always using hardcoded /usr/bin/cpp. MFC after: 1 week
Diffstat (limited to 'include')
-rw-r--r--include/rpc/Makefile2
-rw-r--r--include/rpcsvc/Makefile2
2 files changed, 2 insertions, 2 deletions
diff --git a/include/rpc/Makefile b/include/rpc/Makefile
index 40d4c47..cf17ca2 100644
--- a/include/rpc/Makefile
+++ b/include/rpc/Makefile
@@ -3,7 +3,7 @@
.SUFFIXES: .x
-RPCCOM = rpcgen -C
+RPCCOM= RPCGEN_CPP=${CPP:Q} rpcgen -C
HDRS= rpcb_prot.h
diff --git a/include/rpcsvc/Makefile b/include/rpcsvc/Makefile
index d7d093f..66acc9d 100644
--- a/include/rpcsvc/Makefile
+++ b/include/rpcsvc/Makefile
@@ -3,7 +3,7 @@
.SUFFIXES: .x
-RPCCOM = rpcgen -C
+RPCCOM= RPCGEN_CPP=${CPP:Q} rpcgen -C
HDRS= key_prot.h klm_prot.h mount.h nfs_prot.h nlm_prot.h rex.h rnusers.h \
rquota.h rstat.h rwall.h sm_inter.h spray.h yppasswd.h yp.h \
OpenPOWER on IntegriCloud