Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/external/bsd/pcc/usr.bin/pcc newer pcc front end provides so...



details:   https://anonhg.NetBSD.org/src/rev/18e67cee3e66
branches:  trunk
changeset: 761829:18e67cee3e66
user:      plunky <plunky%NetBSD.org@localhost>
date:      Tue Feb 08 18:26:25 2011 +0000

description:
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)

diffstat:

 external/bsd/pcc/usr.bin/pcc/Makefile |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (20 lines):

diff -r 552e1e8fab5c -r 18e67cee3e66 external/bsd/pcc/usr.bin/pcc/Makefile
--- a/external/bsd/pcc/usr.bin/pcc/Makefile     Tue Feb 08 18:14:00 2011 +0000
+++ b/external/bsd/pcc/usr.bin/pcc/Makefile     Tue Feb 08 18:26:25 2011 +0000
@@ -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 @@
 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,"        \



Home | Main Index | Thread Index | Old Index