fix building with gcc3; from tedu@
This commit is contained in:
parent
1598bd8724
commit
bddedc2562
@ -1,4 +1,4 @@
|
||||
$OpenBSD: patch-make_with_bad_rpcgen,v 1.1 2001/03/17 15:46:40 wilfried Exp $
|
||||
$OpenBSD: patch-make_with_bad_rpcgen,v 1.2 2004/05/28 21:39:13 naddy Exp $
|
||||
--- make_with_bad_rpcgen.orig Wed Mar 20 18:57:56 1996
|
||||
+++ make_with_bad_rpcgen Fri Mar 16 20:15:08 2001
|
||||
@@ -1,7 +1,7 @@
|
||||
@ -6,7 +6,7 @@ $OpenBSD: patch-make_with_bad_rpcgen,v 1.1 2001/03/17 15:46:40 wilfried Exp $
|
||||
# this will make CFS for linux (and other) systems with the
|
||||
# wrong version of rpcgen
|
||||
-make CC="cc -traditional -Dd_fileno=d_ino \
|
||||
+make CC="${CCTMP} ${CFLAGS} -traditional -DDd_fileno=d_ino \
|
||||
+make CC="${CCTMP} ${CFLAGS} -U__STDC__ -DDd_fileno=d_ino \
|
||||
-Dnfsproc_null_2_svc=nfsproc_null_2 \
|
||||
-Dnfsproc_getattr_2_svc=nfsproc_getattr_2 \
|
||||
-Dnfsproc_setattr_2_svc=nfsproc_setattr_2 \
|
||||
|
Loading…
Reference in New Issue
Block a user