Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 6 Jul 2010 18:51:25 GMT
From:      Andrius Morkunas <andrius@FreeBSD.org>
To:        Perforce Change Reviews <perforce@FreeBSD.org>
Subject:   PERFORCE change 180558 for review
Message-ID:  <201007061851.o66IpPHf049754@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://p4web.freebsd.org/@@180558?ac=10

Change 180558 by andrius@klevas on 2010/07/06 18:50:53

	Add a way to disable PORTS_CC.
	
	In some weird and not so weird cases, PORTS_CC is not desired
	and/or won't work.

Affected files ...

.. //depot/projects/soc2010/clangports/ports/Mk/bsd.compiler.mk#4 edit

Differences ...

==== //depot/projects/soc2010/clangports/ports/Mk/bsd.compiler.mk#4 (text+ko) ====

@@ -1,3 +1,6 @@
+# Check if PORTS_CC is allowed.
+.if !defined(NO_PORTS_CC)
+
 # Set the defaults
 PORTS_CC?=	gcc
 # PORTS_CXX should only be set if PORTS_CC is neither gcc nor clang
@@ -52,3 +55,5 @@
 CC=			${PORTS_CC}
 CXX=		${PORTS_CXX}
 .endif
+
+.endif # NO_PORTS_CC



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201007061851.o66IpPHf049754>