summaryrefslogtreecommitdiff
path: root/pkgtools
diff options
context:
space:
mode:
authorcheusov <cheusov@pkgsrc.org>2011-08-29 10:43:35 +0000
committercheusov <cheusov@pkgsrc.org>2011-08-29 10:43:35 +0000
commit74f09d34c897ae0c2f7aa0250e1a731eb651a399 (patch)
tree30e727776ca82f7a1f96feaa52c74927a8d03a44 /pkgtools
parentc2cd435783f38846595be742d771f61c6699480c (diff)
downloadpkgsrc-74f09d34c897ae0c2f7aa0250e1a731eb651a399.tar.gz
IRIX: Set CPP to '${CC} -E' by default (old value is 'CC -E').
This fixes bootstrap failure on IRIX with MIPSPro C compiler when MIPSPro C++ is not available. Approved by wiz@
Diffstat (limited to 'pkgtools')
-rw-r--r--pkgtools/bootstrap-mk-files/files/mods/IRIX.sys.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgtools/bootstrap-mk-files/files/mods/IRIX.sys.mk b/pkgtools/bootstrap-mk-files/files/mods/IRIX.sys.mk
index a80fe7caab5..6bd3b6f5738 100644
--- a/pkgtools/bootstrap-mk-files/files/mods/IRIX.sys.mk
+++ b/pkgtools/bootstrap-mk-files/files/mods/IRIX.sys.mk
@@ -1,4 +1,4 @@
-# $NetBSD: IRIX.sys.mk,v 1.3 2008/02/21 15:51:50 tnn Exp $
+# $NetBSD: IRIX.sys.mk,v 1.4 2011/08/29 10:43:35 cheusov Exp $
# @(#)sys.mk 8.2 (Berkeley) 3/21/94
unix?= We run Unix
@@ -39,7 +39,7 @@ LINK.m?= ${OBJC} ${OBJCFLAGS} ${CPPFLAGS} ${LDFLAGS}
_IRIXVERS!= uname -r
.if !empty(_IRIXVERS:M6*)
-CPP?= CC -E
+CPP?= ${CC} -E
.else
CPP?= cpp
.endif