Source-Changes-HG archive

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

[src/trunk]: src/external/bsd/pcc make PCC_DEBUG a global flag (will not comp...



details:   https://anonhg.NetBSD.org/src/rev/98e5bd5f2d8b
branches:  trunk
changeset: 765830:98e5bd5f2d8b
user:      plunky <plunky%NetBSD.org@localhost>
date:      Tue Jun 07 13:30:35 2011 +0000

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

diffstat:

 external/bsd/pcc/Makefile.inc          |  3 ++-
 external/bsd/pcc/libexec/ccom/Makefile |  3 +--
 external/bsd/pcc/libexec/cpp/Makefile  |  3 +--
 3 files changed, 4 insertions(+), 5 deletions(-)

diffs (51 lines):

diff -r 305e2e1e0b91 -r 98e5bd5f2d8b external/bsd/pcc/Makefile.inc
--- a/external/bsd/pcc/Makefile.inc     Tue Jun 07 13:07:26 2011 +0000
+++ b/external/bsd/pcc/Makefile.inc     Tue Jun 07 13:30:35 2011 +0000
@@ -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}
diff -r 305e2e1e0b91 -r 98e5bd5f2d8b external/bsd/pcc/libexec/ccom/Makefile
--- a/external/bsd/pcc/libexec/ccom/Makefile    Tue Jun 07 13:07:26 2011 +0000
+++ b/external/bsd/pcc/libexec/ccom/Makefile    Tue Jun 07 13:30:35 2011 +0000
@@ -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}
diff -r 305e2e1e0b91 -r 98e5bd5f2d8b external/bsd/pcc/libexec/cpp/Makefile
--- a/external/bsd/pcc/libexec/cpp/Makefile     Tue Jun 07 13:07:26 2011 +0000
+++ b/external/bsd/pcc/libexec/cpp/Makefile     Tue Jun 07 13:30:35 2011 +0000
@@ -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



Home | Main Index | Thread Index | Old Index