diff make/linux/makefiles/gcc.make @ 2032:320ef6401fce

Merge
author ysr
date Thu, 16 Dec 2010 12:56:51 -0800
parents a5610f0862fe
children 5d801e6b9a80
line wrap: on
line diff
--- a/make/linux/makefiles/gcc.make	Thu Dec 16 09:14:34 2010 -0800
+++ b/make/linux/makefiles/gcc.make	Thu Dec 16 12:56:51 2010 -0800
@@ -25,7 +25,9 @@
 #------------------------------------------------------------------------
 # CC, CPP & AS
 
-ifdef ALT_COMPILER_PATH
+# When cross-compiling the ALT_COMPILER_PATH points
+# to the cross-compilation toolset
+ifdef CROSS_COMPILE_ARCH
 CPP = $(ALT_COMPILER_PATH)/g++
 CC  = $(ALT_COMPILER_PATH)/gcc
 else