Mercurial > hg > graal-compiler
diff make/linux/makefiles/sparcWorks.make @ 5897:7292cff45988
7141244: build-infra merge: Include $(SPEC) in makefiles and make variables overridable
Reviewed-by: dholmes, ohrstrom, ohair, jcoomes
author | erikj |
---|---|
date | Wed, 22 Feb 2012 09:24:35 +0100 |
parents | 719f7007c8e8 |
children | b9a9ed0f8eeb |
line wrap: on
line diff
--- a/make/linux/makefiles/sparcWorks.make Wed Feb 22 10:32:29 2012 -0800 +++ b/make/linux/makefiles/sparcWorks.make Wed Feb 22 09:24:35 2012 +0100 @@ -25,12 +25,15 @@ #------------------------------------------------------------------------ # CC, CXX & AS -CXX = CC -CC = cc -AS = $(CC) -c +# If a SPEC is not set already, then use these defaults. +ifeq ($(SPEC),) + CXX = CC + CC = cc + AS = $(CC) -c -HOSTCXX = $(CXX) -HOSTCC = $(CC) + HOSTCXX = $(CXX) + HOSTCC = $(CC) +endif ARCHFLAG = $(ARCHFLAG/$(BUILDARCH)) ARCHFLAG/i486 = -m32