[uClibc-cvs] svn commit: trunk/buildroot/toolchain/gcc

mjn3 at uclibc.org mjn3 at uclibc.org
Sat Apr 30 21:58:58 UTC 2005


Author: mjn3
Date: 2005-04-30 15:58:58 -0600 (Sat, 30 Apr 2005)
New Revision: 10211

Log:
Support gcc 4.[01].  Only tried for 4.0.0 at this point.

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-04-30 21:57:58 UTC (rev 10210)
+++ trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk	2005-04-30 21:58:58 UTC (rev 10211)
@@ -285,6 +285,13 @@
 else
 GCC_LIB_SUBDIR=lib/gcc-lib/$(REAL_GNU_TARGET_NAME)/$(GCC_VERSION)
 endif
+# sigh... we need to find a better way
+ifeq ($(findstring 4.0.,$(GCC_VERSION)),4.0.)
+GCC_LIB_SUBDIR=lib/gcc/$(REAL_GNU_TARGET_NAME)/$(GCC_VERSION)
+endif
+ifeq ($(findstring 4.1.,$(GCC_VERSION)),4.1.)
+GCC_LIB_SUBDIR=lib/gcc/$(REAL_GNU_TARGET_NAME)/$(GCC_VERSION)
+endif
 
 $(TARGET_DIR)/usr/bin/gcc: $(GCC_BUILD_DIR3)/.compiled
 	PATH=$(TARGET_PATH) \




More information about the uClibc-cvs mailing list