fix GCC version.
[openwrt-10.03/.git] / toolchain / gcc / Makefile
index cf60d7505033991f38025e7943f8cca59e6df54a..7c037edddc0673b4458e902c82bf500b74019c22 100644 (file)
@@ -20,7 +20,7 @@
 
 include $(TOPDIR)/rules.mk
 
-GCC_VERSION:=$(strip $(GCC_VERSION))
+GCC_VERSION:=$(strip $(CONFIG_GCC_VERSION))
 
 #GCC_SITE:=ftp://ftp.gnu.org/gnu/gcc/releases/gcc-$(GCC_VERSION)
 GCC_SITE:=ftp://ftp.fu-berlin.de/unix/languages/gcc/releases/gcc-$(GCC_VERSION) \