From 5e99487c507d4c0039d43c3b495d48f0a044ae15 Mon Sep 17 00:00:00 2001 From: plunky Date: Tue, 7 Jun 2011 13:30:35 +0000 Subject: [PATCH] make PCC_DEBUG a global flag (will not compile without, currently) --- 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(-) diff --git a/external/bsd/pcc/Makefile.inc b/external/bsd/pcc/Makefile.inc index ca1ac55cef89..6249d00f0db0 100644 --- a/external/bsd/pcc/Makefile.inc +++ b/external/bsd/pcc/Makefile.inc @@ -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 @@ ERROR!= echo "ERROR: ${TARGMACH} not yet supported - write code!" >&2;echo VERSSTR = PACKAGE_STRING " for ${TARGOS}-${TARGMACH}" CPPFLAGS+= -DGCC_COMPAT +CPPFLAGS+= -DPCC_DEBUG CPPFLAGS+= -DVERSSTR=${VERSSTR:Q} CPPFLAGS+= -Dos_${TARGOS} CPPFLAGS+= -Dmach_${TARGMACH} diff --git a/external/bsd/pcc/libexec/ccom/Makefile b/external/bsd/pcc/libexec/ccom/Makefile index 346ab5e64c64..99e9895c65f5 100644 --- a/external/bsd/pcc/libexec/ccom/Makefile +++ b/external/bsd/pcc/libexec/ccom/Makefile @@ -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 @@ MAN= ccom.1 # generate cgram.h YHEADER= -CPPFLAGS+= -DPCC_DEBUG CPPFLAGS+= -I${.OBJDIR} CPPFLAGS+= -I${PCC_DIST}/mip CPPFLAGS+= -I${PCC_DIST}/os/${TARGOS} diff --git a/external/bsd/pcc/libexec/cpp/Makefile b/external/bsd/pcc/libexec/cpp/Makefile index 4c40746935d5..0f9edd5d89ae 100644 --- a/external/bsd/pcc/libexec/cpp/Makefile +++ b/external/bsd/pcc/libexec/cpp/Makefile @@ -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 @@ -21,7 +21,6 @@ pcpp.1: cpp.1 -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