svn commit: trunk/buildroot/toolchain/gcc

aldot at uclibc.org aldot at uclibc.org
Wed Dec 21 15:27:34 UTC 2005


Author: aldot
Date: 2005-12-21 07:27:33 -0800 (Wed, 21 Dec 2005)
New Revision: 12968

Log:
- no need to disable libmudflap for gcc-4.2
- use the HOSTCC for the intermediate bootstrap compilers


Modified:
   trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk


Changeset:
Modified: trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk
===================================================================
--- trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk	2005-12-21 15:07:30 UTC (rev 12967)
+++ trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk	2005-12-21 15:27:33 UTC (rev 12968)
@@ -96,9 +96,6 @@
 endif
 	touch $(GCC_DIR)/.patched
 
-ifeq ("$(GCC_VERSION)","4.2.0")
-EXTRA_GCC_CONFIG_OPTIONS+= --disable-libmudflap
-endif
 # The --without-headers option stopped working with gcc 3.0 and has never been
 # fixed, so we need to actually have working C library header files prior to
 # the step or libgcc will not build...
@@ -106,6 +103,7 @@
 $(GCC_BUILD_DIR1)/.configured: $(GCC_DIR)/.patched
 	mkdir -p $(GCC_BUILD_DIR1)
 	(cd $(GCC_BUILD_DIR1); PATH=$(TARGET_PATH) \
+		CC="$(HOSTCC)" \
 		$(GCC_DIR)/configure \
 		--prefix=$(STAGING_DIR) \
 		--build=$(GNU_HOST_NAME) \
@@ -162,6 +160,7 @@
 	# Important!  Required for limits.h to be fixed.
 	ln -snf ../include $(STAGING_DIR)/$(REAL_GNU_TARGET_NAME)/sys-include
 	(cd $(GCC_BUILD_DIR2); PATH=$(TARGET_PATH) \
+		CC="$(HOSTCC)" \
 		$(GCC_DIR)/configure \
 		--prefix=$(STAGING_DIR) \
 		--build=$(GNU_HOST_NAME) \




More information about the uClibc-cvs mailing list