PERFORCE change 179421 for review

Andrius Morkunas andrius at FreeBSD.org
Thu Jun 10 17:24:09 UTC 2010


http://p4web.freebsd.org/@@179421?ac=10

Change 179421 by andrius at 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


More information about the p4-projects mailing list