diff options
author | rillig <rillig@pkgsrc.org> | 2006-10-21 10:01:23 +0000 |
---|---|---|
committer | rillig <rillig@pkgsrc.org> | 2006-10-21 10:01:23 +0000 |
commit | 517fa1fce883ebe0ab55787a52c8f67a2c988c25 (patch) | |
tree | a2bf7966b434256b0cb25dc2c873c140b8f45564 /mk | |
parent | 181cc4aeab74ff753bf464c08fb32c6bb23cf156 (diff) | |
download | pkgsrc-517fa1fce883ebe0ab55787a52c8f67a2c988c25.tar.gz |
When CPP is defined as "cc -E" on Solaris with sunpro, the cc wrapper
had been overwritten with the cpp wrapper, and the latter didn't define
the necessary transformation rules. Fixed that.
Diffstat (limited to 'mk')
-rw-r--r-- | mk/wrapper/bsd.wrapper.mk | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/mk/wrapper/bsd.wrapper.mk b/mk/wrapper/bsd.wrapper.mk index 499b6b90a0c..f423cee8aec 100644 --- a/mk/wrapper/bsd.wrapper.mk +++ b/mk/wrapper/bsd.wrapper.mk @@ -1,4 +1,4 @@ -# $NetBSD: bsd.wrapper.mk,v 1.53 2006/09/17 22:52:45 rillig Exp $ +# $NetBSD: bsd.wrapper.mk,v 1.54 2006/10/21 10:01:23 rillig Exp $ # # Copyright (c) 2005 The NetBSD Foundation, Inc. # All rights reserved. @@ -264,12 +264,14 @@ _WRAP_EXTRA_ARGS.CC+= -Xcpluscomm -Olimit 6000 .endif .if !empty(PKGSRC_COMPILER:Msunpro) -_WRAP_ARG_PP.CXX= ${WRAPPER_TMPDIR}/arg-pp-sunpro-cxx -_WRAP_CMD_SINK.CXX= ${WRAPPER_TMPDIR}/cmd-sink-sunpro-cxx _WRAP_CACHE_BODY.CC= ${WRAPPER_TMPDIR}/cache-body-sunpro-cc _WRAP_TRANSFORM.CC= ${WRAPPER_TMPDIR}/transform-sunpro-cc +_WRAP_ARG_PP.CXX= ${WRAPPER_TMPDIR}/arg-pp-sunpro-cxx _WRAP_CACHE_BODY.CXX= ${_WRAP_CACHE_BODY.CC} _WRAP_TRANSFORM.CXX= ${_WRAP_TRANSFORM.CC} +_WRAP_CMD_SINK.CXX= ${WRAPPER_TMPDIR}/cmd-sink-sunpro-cxx +_WRAP_CACHE_BODY.CPP= ${_WRAP_CACHE_BODY.CC} +_WRAP_TRANSFORM.CPP= ${_WRAP_TRANSFORM.CC} .endif .if !empty(PKGSRC_COMPILER:Mxlc) |