From e4c7094ca10b98f0b17dad9adade57a6e9f16fe4 Mon Sep 17 00:00:00 2001 From: sb Date: Fri, 29 Jan 2010 13:10:52 +0100 Subject: [PATCH] sb119: #i103763# use $CC/CXX instead of hard-coded gcc/g++ --- moz/makefile.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/moz/makefile.mk b/moz/makefile.mk index 0aabda002e2e..4e4c099a95b6 100644 --- a/moz/makefile.mk +++ b/moz/makefile.mk @@ -167,7 +167,7 @@ MOZILLA_CONFIGURE_FLAGS+= --enable-default-toolkit=$(DEFAULT_MOZILLA_TOOLKIT) # create a objdir build = build files in a seperate directory, not in the sourcetree directly CONFIGURE_DIR=$(CPU)_objdir BUILD_DIR=$(CONFIGURE_DIR) -MOZ_CROSSCOMPILE=CROSS_COMPILE=1 CC="gcc -arch $(MOZ_ARCH)" CXX="g++ -arch $(MOZ_ARCH)" AR=ar +MOZ_CROSSCOMPILE=CROSS_COMPILE=1 CC="$(CC) -arch $(MOZ_ARCH)" CXX="$(CXX) -arch $(MOZ_ARCH)" AR=ar CONFIGURE_ACTION=$(null,$(MOZ_ARCH) $(NULL) $(MOZ_CROSSCOMPILE)) ../configure $(MOZILLA_CONFIGURE_FLAGS)