aboutsummaryrefslogtreecommitdiff
path: root/sunrpc
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2001-11-02 02:08:57 +0000
committerUlrich Drepper <drepper@redhat.com>2001-11-02 02:08:57 +0000
commit980c4d04493807bbc52b84cd0cf04b5c0338bc6d (patch)
tree055c0b2889a5aa831dc1b8504625264772c21b79 /sunrpc
parent2f653c01fcafd030129eb96394303965541ed5b2 (diff)
downloadglibc-980c4d04493807bbc52b84cd0cf04b5c0338bc6d.zip
glibc-980c4d04493807bbc52b84cd0cf04b5c0338bc6d.tar.gz
glibc-980c4d04493807bbc52b84cd0cf04b5c0338bc6d.tar.bz2
Update.
* sunrpc/Makefile (rpcgen-cmd): Use ../scripts/cpp in rpcgen calls. * scripts/cpp: New file.
Diffstat (limited to 'sunrpc')
-rw-r--r--sunrpc/Makefile3
1 files changed, 1 insertions, 2 deletions
diff --git a/sunrpc/Makefile b/sunrpc/Makefile
index c1bf945..b7858d6 100644
--- a/sunrpc/Makefile
+++ b/sunrpc/Makefile
@@ -126,8 +126,7 @@ $(objpfx)rpcgen: $(addprefix $(objpfx),$(rpcgen-objs)) \
$(+link)
# Tell rpcgen where to find the C preprocessor.
-rpcgen-cmd = $(built-program-cmd) -Y `$(CC) -print-file-name=cpp | \
- sed 's|/cpp$$||'`
+rpcgen-cmd = $(built-program-cmd) -Y ../scripts
# Install the rpc data base file.
$(inst_sysconfdir)/rpc: etc.rpc $(+force)