Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 16 Jun 2010 12:10:17 GMT
From:      Andrius Morkunas <andrius@FreeBSD.org>
To:        Perforce Change Reviews <perforce@FreeBSD.org>
Subject:   PERFORCE change 179677 for review
Message-ID:  <201006161210.o5GCAHjK096592@repoman.freebsd.org>

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

Change 179677 by andrius@klevas on 2010/06/16 12:09:36

	Change handling of USE_CC=gcc.
	
	It will now use GCC from base system instead of any version of gcc.

Affected files ...

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

Differences ...

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

@@ -25,8 +25,13 @@
 CC=			${PORTS_CC}
 CXX=		${PORTS_CC:S/cc/++/}
 
+# USE_CC wants GCC from base system.
+.if defined(USE_CC) && !empty(USE_CC:Mgcc)
+CC=			gcc
+CXX=		g++
+
 # Translate USE_CC to USE_GCC if the former is defined.
-.if defined(USE_CC) && !empty(USE_CC:Mgcc*)
+.elif defined(USE_CC) && !empty(USE_CC:Mgcc*)
 USE_GCC=	${USE_CC:Mgcc*:S/gcc//}
 .endif
 



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