From 219ec6fe57273d24ff673d292a26e8fc6050398f Mon Sep 17 00:00:00 2001 From: Andrew McDermott Date: Mon, 24 Jun 2013 10:50:27 +0100 Subject: gcc: use fix-g++-sysroot.patch from gcc-4.7 for gcc-4.8 The c++ include paths for the configured g++ on the target are missing a leading '/' which means various headers files are not found when compiling c++ programs. This commit carries forward the existing patch from gcc-4.7 which ensures that the gcc-runtime configure stage will not drop the leading '/' when --with-sysroot is specified. Fixes https://bugs.launchpad.net/linaro-oe/+bug/1192953. Signed-off-by: Andrew McDermott --- meta-linaro-toolchain/recipes-devtools/gcc/gcc-linaro-4.8.inc | 1 + 1 file changed, 1 insertion(+) (limited to 'meta-linaro-toolchain/recipes-devtools/gcc/gcc-linaro-4.8.inc') diff --git a/meta-linaro-toolchain/recipes-devtools/gcc/gcc-linaro-4.8.inc b/meta-linaro-toolchain/recipes-devtools/gcc/gcc-linaro-4.8.inc index c789aba8..1ad93f65 100644 --- a/meta-linaro-toolchain/recipes-devtools/gcc/gcc-linaro-4.8.inc +++ b/meta-linaro-toolchain/recipes-devtools/gcc/gcc-linaro-4.8.inc @@ -47,6 +47,7 @@ SRC_URI = "http://cbuild.validation.linaro.org/snapshots/gcc-${PV}-${RELEASE}.ta file://0035-wcast-qual-PR-55383.patch \ file://gcc-4.8-PR56797.patch \ file://use-lib-for-aarch64.patch \ + file://fix-g++-sysroot.patch \ " SRC_URI[md5sum] = "3d95781ac0608639884f8f51e58ccc77" -- cgit v1.2.3