pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/mk Ensure CPP is defined to use the Sun compiler when ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/326d81496f75
branches:  trunk
changeset: 464468:326d81496f75
user:      sketch <sketch%pkgsrc.org@localhost>
date:      Wed Dec 10 09:08:24 2003 +0000

description:
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:

 mk/compiler.mk |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (17 lines):

diff -r 67a1cbc88fd5 -r 326d81496f75 mk/compiler.mk
--- a/mk/compiler.mk    Wed Dec 10 07:22:43 2003 +0000
+++ b/mk/compiler.mk    Wed Dec 10 09:08:24 2003 +0000
@@ -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 @@
 # 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
 



Home | Main Index | Thread Index | Old Index