From db425c226aba94d42182339ecf13bb83446966c3 Mon Sep 17 00:00:00 2001 From: acoul Date: Mon, 19 Apr 2010 15:43:08 +0000 Subject: add gcc-4.5.0 preliminary support git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21033 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- toolchain/gcc/Makefile | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'toolchain/gcc/Makefile') diff --git a/toolchain/gcc/Makefile b/toolchain/gcc/Makefile index 9536cc245..ed9de15b3 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 -- cgit v1.2.3