pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/pkgtools/bootstrap-mk-files/files/mods ${CC} -E is a b...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/4a10cfbcf561
branches:  trunk
changeset: 538514:4a10cfbcf561
user:      tnn <tnn%pkgsrc.org@localhost>
date:      Mon Feb 11 15:12:39 2008 +0000

description:
${CC} -E is a better default choice for CPP than "cpp".
Prevents many packages from failing with "c preprocessor fails sanity check."

diffstat:

 pkgtools/bootstrap-mk-files/files/mods/SunOS.sys.mk |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r efdc95ef4863 -r 4a10cfbcf561 pkgtools/bootstrap-mk-files/files/mods/SunOS.sys.mk
--- a/pkgtools/bootstrap-mk-files/files/mods/SunOS.sys.mk       Mon Feb 11 15:03:18 2008 +0000
+++ b/pkgtools/bootstrap-mk-files/files/mods/SunOS.sys.mk       Mon Feb 11 15:12:39 2008 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: SunOS.sys.mk,v 1.1.1.1 2006/07/14 23:13:01 jlam Exp $
+#      $NetBSD: SunOS.sys.mk,v 1.2 2008/02/11 15:12:39 tnn Exp $
 #      NetBSD: sys.mk,v 1.58 2000/08/22 17:38:49 bjh21 Exp 
 #      @(#)sys.mk      8.2 (Berkeley) 3/21/94
 
@@ -40,7 +40,7 @@
 COMPILE.m?=    ${OBJC} ${OBJCFLAGS} ${CPPFLAGS} -c
 LINK.m?=       ${OBJC} ${OBJCFLAGS} ${CPPFLAGS} ${LDFLAGS}
 
-CPP?=          cpp
+CPP?=          ${CC} -E
 .if defined(NETBSD_COMPATIBLE)
 CPPFLAGS?=     -I${BSDDIR}/include -D__EXTENSIONS__ -D_XPG4_2 -DSUNOS_5
 HOST_CPPFLAGS?=        ${CPPFLAGS}



Home | Main Index | Thread Index | Old Index