diff options
author | Manuel Novoa III <mjn3@codepoet.org> | 2005-04-30 21:58:58 +0000 |
---|---|---|
committer | Manuel Novoa III <mjn3@codepoet.org> | 2005-04-30 21:58:58 +0000 |
commit | 3e0abd14cfd49c640411b0f57f7f995132c1feff (patch) | |
tree | 8a5f77de99ff5f6fee9cb352ac983247d6aa3949 /toolchain/gcc | |
parent | 79a40a34377ebabbb6fba4b9e1ac70ce85d0d12e (diff) | |
download | buildroot-novena-3e0abd14cfd49c640411b0f57f7f995132c1feff.tar.gz buildroot-novena-3e0abd14cfd49c640411b0f57f7f995132c1feff.zip |
Support gcc 4.[01]. Only tried for 4.0.0 at this point.
Diffstat (limited to 'toolchain/gcc')
-rw-r--r-- | toolchain/gcc/gcc-uclibc-3.x.mk | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/toolchain/gcc/gcc-uclibc-3.x.mk b/toolchain/gcc/gcc-uclibc-3.x.mk index d5babd263..3f731eb1f 100644 --- a/toolchain/gcc/gcc-uclibc-3.x.mk +++ b/toolchain/gcc/gcc-uclibc-3.x.mk @@ -285,6 +285,13 @@ GCC_LIB_SUBDIR=lib/gcc/$(REAL_GNU_TARGET_NAME)/$(GCC_VERSION) 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) \ |