diff make/linux/makefiles/gcc.make @ 2401:7e88bdae86ec

7029017: Additional architecture support for c2 compiler Summary: Enables cross building of a c2 VM. Support masking of shift counts when the processor architecture mandates it. Reviewed-by: kvn, never
author roland
date Fri, 25 Mar 2011 09:35:39 +0100
parents d70fe6ab4436
children 1d1603768966
line wrap: on
line diff
--- a/make/linux/makefiles/gcc.make	Fri Mar 25 18:19:22 2011 -0400
+++ b/make/linux/makefiles/gcc.make	Fri Mar 25 09:35:39 2011 +0100
@@ -30,9 +30,13 @@
 ifdef CROSS_COMPILE_ARCH
 CPP = $(ALT_COMPILER_PATH)/g++
 CC  = $(ALT_COMPILER_PATH)/gcc
+HOSTCPP = g++
+HOSTCC  = gcc
 else
 CPP = g++
 CC  = gcc
+HOSTCPP = $(CPP)
+HOSTCC  = $(CC)
 endif
 
 AS  = $(CC) -c