summaryrefslogtreecommitdiff
path: root/moz/makefile.mk
diff options
context:
space:
mode:
authorsb <sb@openoffice.org>2010-01-29 13:10:52 +0100
committersb <sb@openoffice.org>2010-01-29 13:10:52 +0100
commite4c7094ca10b98f0b17dad9adade57a6e9f16fe4 (patch)
tree1ef704df1aa06daf384de447c786e1c861e031c2 /moz/makefile.mk
parent50f90f79d6b239b3fc888a300c147a63ba7a3057 (diff)
sb119: #i103763# use $CC/CXX instead of hard-coded gcc/g++
Diffstat (limited to 'moz/makefile.mk')
-rw-r--r--moz/makefile.mk2
1 files changed, 1 insertions, 1 deletions
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)