diff options
author | sketch <sketch> | 2003-12-10 09:08:24 +0000 |
---|---|---|
committer | sketch <sketch> | 2003-12-10 09:08:24 +0000 |
commit | f4c5b26c25710fe5466be09c54e437275fe2fdd3 (patch) | |
tree | f3d8de0ff49753e4fe502acd2bb70a24bf84a5f7 /mk/compiler.mk | |
parent | 98cd86d5a3b46740c4e716c022c51883369ac2be (diff) | |
download | pkgsrc-f4c5b26c25710fe5466be09c54e437275fe2fdd3.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.
Diffstat (limited to 'mk/compiler.mk')
-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 |