Date: Wed, 16 Jun 2010 11:48:53 GMT From: Andrius Morkunas <andrius@FreeBSD.org> To: Perforce Change Reviews <perforce@FreeBSD.org> Subject: PERFORCE change 179675 for review Message-ID: <201006161148.o5GBmrDq093951@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://p4web.freebsd.org/@@179675?ac=10 Change 179675 by andrius@klevas on 2010/06/16 11:48:11 Add NO_USE_CC. If defined, NO_USE_CC forces USE_CC and USE_GCC to be ignored. Before, there was no way to NOT respect USE_CC/USE_GCC variables. Affected files ... .. //depot/projects/soc2010/clangports/ports/Mk/bsd.compiler.mk#2 edit Differences ... ==== //depot/projects/soc2010/clangports/ports/Mk/bsd.compiler.mk#2 (text+ko) ==== @@ -3,6 +3,11 @@ # PORTS_CXX should only be set if PORTS_CC is neither gcc nor clang PORTS_CXX?= g++ +.if defined(NO_USE_CC) +.undef USE_CC +.undef USE_GCC +.endif + # Handle USE_CC .if defined(USE_CC) # Check if port requires specific compiler @@ -35,7 +40,6 @@ # Clang .elif !empty(PORTS_CC:Mclang*) -# TODO: handle something like USE_CLANG here when/if there's need for that CC= clang CXX= clang++ .else
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201006161148.o5GBmrDq093951>