summaryrefslogtreecommitdiff
path: root/net/nasd/patches/patch-kernel__generate_dux_other_Makefile
blob: 23846e1ec8f0894f3abcb49989fddaa463361217 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
$NetBSD: patch-kernel__generate_dux_other_Makefile,v 1.1 2012/06/02 23:34:56 dholland Exp $

Set cpp and use -traditional when invoking nasd_rpcgen.

--- kernel_generate/dux/other/Makefile~	2005-03-21 08:52:03.000000000 +0000
+++ kernel_generate/dux/other/Makefile
@@ -55,8 +55,9 @@ IMODE   = 444
 IOWNER  = bin
 IGROUP  = bin
 
-NASD_RPCGEN = ../../../../bin/nasd_rpcgen
-NASD_RPCGEN_BIN = ${NASD_RPCGEN}
+NASD_RPCGEN = ${NASD_RPCGEN_BIN} ${NASD_RPCGEN_ARGS}
+NASD_RPCGEN_BIN = ../../../../bin/nasd_rpcgen
+NASD_RPCGEN_ARGS = -C 'cpp -traditional'
 NASD_RPCGEN_INCLUDES = -I${MAKETOP}kernel/nasd/kernel_generate/dux -I${MAKETOP}kernel/nasd/kernel_generate/dux/other
 
 include ${MAKEFILEPATH}/standard.mk