diff options
-rw-r--r-- | mk/compiler.mk | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/mk/compiler.mk b/mk/compiler.mk index 04b2092c654..158dc65ed13 100644 --- a/mk/compiler.mk +++ b/mk/compiler.mk @@ -1,4 +1,4 @@ -# $NetBSD: compiler.mk,v 1.55 2006/07/27 20:07:06 joerg Exp $ +# $NetBSD: compiler.mk,v 1.56 2006/11/16 02:42:13 markd Exp $ # # This Makefile fragment implements handling for supported C/C++/Fortran # compilers. @@ -127,6 +127,10 @@ _COMPILER_STRIP_VARS= # empty .endfor .undef _compiler_ +.if !defined(PKG_CPP) +PKG_CPP:=${CPP} +.endif + # Strip the leading paths from the toolchain variables since we manipulate # the PATH to use the correct executable. # |