Module Name:    src
Committed By:   plunky
Date:           Tue Jun  7 13:30:35 UTC 2011

Modified Files:
        src/external/bsd/pcc: Makefile.inc
        src/external/bsd/pcc/libexec/ccom: Makefile
        src/external/bsd/pcc/libexec/cpp: Makefile

Log Message:
make PCC_DEBUG a global flag (will not compile without, currently)


To generate a diff of this commit:
cvs rdiff -u -r1.13 -r1.14 src/external/bsd/pcc/Makefile.inc
cvs rdiff -u -r1.8 -r1.9 src/external/bsd/pcc/libexec/ccom/Makefile
cvs rdiff -u -r1.8 -r1.9 src/external/bsd/pcc/libexec/cpp/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/bsd/pcc/Makefile.inc
diff -u src/external/bsd/pcc/Makefile.inc:1.13 src/external/bsd/pcc/Makefile.inc:1.14
--- src/external/bsd/pcc/Makefile.inc:1.13	Tue Jun  7 13:07:26 2011
+++ src/external/bsd/pcc/Makefile.inc	Tue Jun  7 13:30:35 2011
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile.inc,v 1.13 2011/06/07 13:07:26 plunky Exp $
+#	$NetBSD: Makefile.inc,v 1.14 2011/06/07 13:30:35 plunky Exp $
 
 PCC_DIR:=${.PARSEDIR}
 PCC_DIST=${PCC_DIR}/dist/pcc
@@ -22,6 +22,7 @@
 VERSSTR = PACKAGE_STRING " for ${TARGOS}-${TARGMACH}"
 
 CPPFLAGS+=	-DGCC_COMPAT
+CPPFLAGS+=	-DPCC_DEBUG
 CPPFLAGS+=	-DVERSSTR=${VERSSTR:Q}
 CPPFLAGS+=	-Dos_${TARGOS}
 CPPFLAGS+=	-Dmach_${TARGMACH}

Index: src/external/bsd/pcc/libexec/ccom/Makefile
diff -u src/external/bsd/pcc/libexec/ccom/Makefile:1.8 src/external/bsd/pcc/libexec/ccom/Makefile:1.9
--- src/external/bsd/pcc/libexec/ccom/Makefile:1.8	Sun May 22 11:53:46 2011
+++ src/external/bsd/pcc/libexec/ccom/Makefile	Tue Jun  7 13:30:35 2011
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.8 2011/05/22 11:53:46 plunky Exp $
+#	$NetBSD: Makefile,v 1.9 2011/06/07 13:30:35 plunky Exp $
 
 WARNS?=	2
 
@@ -22,7 +22,6 @@
 # generate cgram.h
 YHEADER=
 
-CPPFLAGS+=	-DPCC_DEBUG
 CPPFLAGS+=	-I${.OBJDIR}
 CPPFLAGS+=	-I${PCC_DIST}/mip
 CPPFLAGS+=	-I${PCC_DIST}/os/${TARGOS}

Index: src/external/bsd/pcc/libexec/cpp/Makefile
diff -u src/external/bsd/pcc/libexec/cpp/Makefile:1.8 src/external/bsd/pcc/libexec/cpp/Makefile:1.9
--- src/external/bsd/pcc/libexec/cpp/Makefile:1.8	Thu Jun  3 19:17:22 2010
+++ src/external/bsd/pcc/libexec/cpp/Makefile	Tue Jun  7 13:30:35 2011
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.8 2010/06/03 19:17:22 plunky Exp $
+#	$NetBSD: Makefile,v 1.9 2011/06/07 13:30:35 plunky Exp $
 
 .include <bsd.init.mk>
 
@@ -21,7 +21,6 @@
 		    -e "s,Dt CPP,Dt PCPP,"	\
 		    ${.ALLSRC} > ${.TARGET}
 
-CPPFLAGS+=	-DCPP_DEBUG
 CPPFLAGS+=	-I${.OBJDIR}
 CPPFLAGS+=	-I${PCC_DIST}/mip
 CPPFLAGS+=	-I${PCC_DIST}/cc/cpp

Reply via email to