aboutsummaryrefslogtreecommitdiffstats
path: root/toolchain/gcc/Makefile
diff options
context:
space:
mode:
authorAlexandros C. Couloumbis <alex@ozo.com>2010-04-19 15:43:08 +0000
committerAlexandros C. Couloumbis <alex@ozo.com>2010-04-19 15:43:08 +0000
commit6d59a298e848fc0638920e711b1481b4b7afa18c (patch)
treeba394c3a3587ba2faec9cff7415788c192ca6d3b /toolchain/gcc/Makefile
parent26cd3eed25919ae06ed6bb1106b1d65a00aae8eb (diff)
downloadupstream-6d59a298e848fc0638920e711b1481b4b7afa18c.tar.gz
upstream-6d59a298e848fc0638920e711b1481b4b7afa18c.tar.bz2
upstream-6d59a298e848fc0638920e711b1481b4b7afa18c.zip
add gcc-4.5.0 preliminary support
SVN-Revision: 21033
Diffstat (limited to 'toolchain/gcc/Makefile')
-rw-r--r--toolchain/gcc/Makefile12
1 files changed, 12 insertions, 0 deletions
diff --git a/toolchain/gcc/Makefile b/toolchain/gcc/Makefile
index 9536cc245b..ed9de15b3c 100644
--- a/toolchain/gcc/Makefile
+++ b/toolchain/gcc/Makefile
@@ -63,6 +63,9 @@ else
ifeq ($(PKG_VERSION),4.4.3)
PKG_MD5SUM:=fe1ca818fc6d2caeffc9051fe67ff103
endif
+ ifeq ($(PKG_VERSION),4.5.0)
+ PKG_MD5SUM:=ff27b7c4a5d5060c8a8543a44abca31f
+ endif
endif
PATCH_DIR=./patches/$(GCC_VERSION)
@@ -108,6 +111,15 @@ ifneq ($(CONFIG_GCC_VERSION_4_3)$(CONFIG_GCC_VERSION_4_4),)
--disable-decimal-float
endif
+ifneq ($(CONFIG_GCC_VERSION_4_5),)
+ GCC_BUILD_TARGET_LIBGCC:=y
+ GCC_CONFIGURE+= \
+ --with-gmp=$(TOPDIR)/staging_dir/host \
+ --with-mpc=$(TOPDIR)/staging_dir/host \
+ --with-mpfr=$(TOPDIR)/staging_dir/host \
+ --disable-decimal-float
+endif
+
ifneq ($(CONFIG_SSP_SUPPORT),)
GCC_CONFIGURE+= \
--enable-libssp