newer pcc front end provides some definitions according to arch,
so provide the TARGMACH definition to the compiler here. (makes no difference to the currently imported sources, but will be easier for people wanting to try newer sources)
This commit is contained in:
parent
7349c9ffe7
commit
6fea4fd6c5
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.5 2010/06/03 19:17:22 plunky Exp $
|
||||
# $NetBSD: Makefile,v 1.6 2011/02/08 18:26:25 plunky Exp $
|
||||
|
||||
WARNS?= 2
|
||||
|
||||
|
@ -14,8 +14,10 @@ PROG= pcc
|
|||
SRCS= cc.c
|
||||
MAN= pcc.1
|
||||
|
||||
CPPFLAGS+= -DTARGMACH=${TARGMACH}
|
||||
CPPFLAGS+= -I${PCC_DIST}/mip
|
||||
CPPFLAGS+= -I${PCC_DIST}/os/${TARGOS}
|
||||
CPPFLAGS+= -I${PCC_DIST}/arch/${TARGMACH}
|
||||
|
||||
pcc.1: cc.1
|
||||
${TOOL_SED} -e "s,Nm cc,Nm pcc," \
|
||||
|
|
Loading…
Reference in New Issue