summaryrefslogtreecommitdiffstats
path: root/make/gcc-3.3.mk
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2003-09-26 21:18:46 +0000
committerEric Andersen <andersen@codepoet.org>2003-09-26 21:18:46 +0000
commita0aef7c41b2b94ed06063990c3621e6b3ae3f2c9 (patch)
tree5a5ad5823abe3828b47823d96032805c0f3c0b1e /make/gcc-3.3.mk
parent15418c9c2c92ffb2e89d2da2fbae6ea0db0e099d (diff)
downloadbuildroot-novena-a0aef7c41b2b94ed06063990c3621e6b3ae3f2c9.tar.gz
buildroot-novena-a0aef7c41b2b94ed06063990c3621e6b3ae3f2c9.zip
This should at least build. I think.
Diffstat (limited to 'make/gcc-3.3.mk')
-rw-r--r--make/gcc-3.3.mk5
1 files changed, 3 insertions, 2 deletions
diff --git a/make/gcc-3.3.mk b/make/gcc-3.3.mk
index ae201b01e..f77a6c0cb 100644
--- a/make/gcc-3.3.mk
+++ b/make/gcc-3.3.mk
@@ -298,8 +298,8 @@ $(GCC_BUILD_DIR3)/.configured: $(GCC_BUILD_DIR3)/.gcc3_3_build_hacks
(cd $(GCC_BUILD_DIR3); ln -fs $(ARCH)-linux build-$(GNU_TARGET_NAME))
(cd $(GCC_BUILD_DIR3); \
$(TARGET_CONFIGURE_OPTS) \
- CC_FOR_BUILD=$(TARGET_CROSS)gcc \
- CXX_FOR_BUILD=$(TARGET_CROSS)g++ \
+ CC_FOR_BUILD=$(HOSTCC) \
+ CXX_FOR_BUILD=$(HOSTCC) \
AR_FOR_TARGET=$(TARGET_CROSS)ar \
AS_FOR_TARGET=$(TARGET_CROSS)as \
LD_FOR_TARGET=$(TARGET_CROSS)ld \
@@ -326,6 +326,7 @@ $(GCC_BUILD_DIR3)/.configured: $(GCC_BUILD_DIR3)/.gcc3_3_build_hacks
--disable-shared $(MULTILIB) \
--enable-target-optspace $(DISABLE_NLS) \
--with-gnu-ld --disable-__cxa_atexit \
+ --enable-clocale=gnu \
--enable-languages=$(TARGET_LANGUAGES) \
$(EXTRA_GCC_CONFIG_OPTIONS) \
--program-prefix="" \