From a677c5cde0ac47a9d2fdb4d049358ae048374d1c Mon Sep 17 00:00:00 2001 From: Ricardo Martins Date: Thu, 5 Feb 2015 13:43:52 +0000 Subject: [PATCH] gcc: upgraded to v4.9.2. --- rules/gcc/common.bash | 4 ++-- rules/gcc/cross.bash | 1 + rules/gcc/cross_stage2.bash | 1 + 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/rules/gcc/common.bash b/rules/gcc/common.bash index d29653a..5cac9d1 100644 --- a/rules/gcc/common.bash +++ b/rules/gcc/common.bash @@ -1,6 +1,6 @@ version=\ ( - '4.8.2' + '4.9.2' ) url=\ @@ -10,7 +10,7 @@ url=\ md5=\ ( - 'a3d7d63b9cb6b6ea049469a0c4a43c9d' + '4df8ee253b7f3863ad0b86359cd39c43' ) build_dir=$pkg_var diff --git a/rules/gcc/cross.bash b/rules/gcc/cross.bash index 8fd79d7..4f0c529 100644 --- a/rules/gcc/cross.bash +++ b/rules/gcc/cross.bash @@ -11,6 +11,7 @@ configure() "../gcc-$version/configure" $cfg_target_gcc_configure_flags \ --target="$cfg_target_canonical" \ --prefix="$cfg_dir_toolchain" \ + --with-build-sysroot="$cfg_dir_toolchain_sysroot" \ --with-sysroot="$cfg_dir_toolchain_sysroot" \ --with-mpfr="$cfg_dir_toolchain" \ --with-gmp="$cfg_dir_toolchain" \ diff --git a/rules/gcc/cross_stage2.bash b/rules/gcc/cross_stage2.bash index bfe2118..3f6ae1d 100644 --- a/rules/gcc/cross_stage2.bash +++ b/rules/gcc/cross_stage2.bash @@ -10,6 +10,7 @@ configure() MAKEINFO='/bin/true' \ "../gcc-$version/configure" $cfg_target_gcc_configure_flags \ --prefix="$cfg_dir_toolchain" \ + --with-build-sysroot="$cfg_dir_toolchain_sysroot" \ --with-sysroot="$cfg_dir_toolchain_sysroot" \ --target="$cfg_target_canonical" \ --host="$cfg_host_canonical" \