diff options
author | sketch <sketch@pkgsrc.org> | 2003-12-10 09:08:24 +0000 |
---|---|---|
committer | sketch <sketch@pkgsrc.org> | 2003-12-10 09:08:24 +0000 |
commit | 82482260761ecc9eb975295d726484a56c5fe866 (patch) | |
tree | f3d8de0ff49753e4fe502acd2bb70a24bf84a5f7 | |
parent | 22309c9868be8672440a4645c56934d61597432d (diff) | |
download | pkgsrc-82482260761ecc9eb975295d726484a56c5fe866.tar.gz |
Ensure CPP is defined to use the Sun compiler when building packages
under USE_SUNPRO, to avoid the possibility of picking up "cpp" from a
local GCC installation.
-rw-r--r-- | mk/compiler.mk | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/mk/compiler.mk b/mk/compiler.mk index c42cbc3994b..d4002a5b200 100644 --- a/mk/compiler.mk +++ b/mk/compiler.mk @@ -1,4 +1,4 @@ -# $NetBSD: compiler.mk,v 1.23 2003/11/12 13:13:43 grant Exp $ +# $NetBSD: compiler.mk,v 1.24 2003/12/10 09:08:24 sketch Exp $ # This Makefile fragment implements handling for supported # C/C++/fortran compilers. @@ -65,6 +65,7 @@ COMPILER_MK= # defined # command line. .if defined(USE_SUNPRO) && defined(CC) && !empty(CC:Mgcc) CC= /opt/SUNWspro/bin/cc +CPP= /opt/SUNWspro/bin/cc -E CXX= /opt/SUNWspro/bin/CC .endif |