From 489adb600f55e6d6efe8f0a5a33c070a9c8335a6 Mon Sep 17 00:00:00 2001 From: dim Date: Tue, 7 Feb 2012 09:27:07 +0000 Subject: 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 --- include/rpc/Makefile | 2 +- include/rpcsvc/Makefile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'include') 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 \ -- cgit v1.1