Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 10 Jun 2010 17:24:08 GMT
From:      Andrius Morkunas <andrius@FreeBSD.org>
To:        Perforce Change Reviews <perforce@FreeBSD.org>
Subject:   PERFORCE change 179421 for review
Message-ID:  <201006101724.o5AHO8FM046720@repoman.freebsd.org>

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

Change 179421 by andrius@klevas on 2010/06/10 17:23:39

	Don't ignore CC and CXX if selected compiler is in base.
	
	When USE_GCC requests the compiler that is in base system, CC and CXX aren't
	set to anything, because they were set early in sys.mk. Now I'm doing things
	that rely on bsd.gcc.mk overriding CC and CXX in all cases when USE_GCC is
	defined.

Affected files ...

.. //depot/projects/soc2010/clangports/ports/Mk/bsd.gcc.mk#2 edit

Differences ...

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

@@ -204,6 +204,10 @@
 CFLAGS+=		-Wl,-rpath=${LOCALBASE}/lib/${_GCC_BUILD_DEPENDS}
 LDFLAGS+=		-Wl,-rpath=${LOCALBASE}/lib/${_GCC_BUILD_DEPENDS}
 .   endif
+.  else
+# Selected version is in base system.
+CC=				_gcc
+CXX=			_g++
 .  endif
 . endif
 .endfor



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