From f4c5b26c25710fe5466be09c54e437275fe2fdd3 Mon Sep 17 00:00:00 2001 From: sketch Date: Wed, 10 Dec 2003 09:08:24 +0000 Subject: 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. --- mk/compiler.mk | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'mk/compiler.mk') 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 -- cgit v1.2.3