gcc: Fix a case of sysroot with trailing / and gxx-include-dir leading slash

when using --with-sysroot=/ and --with-gxx-headers=/usr/include/c++
configure eats up one leading / from gxx include dir
fixed thusly

(From OE-Core rev: 51064de5fb92c53c99b21487c0ebcafeaf3cc3ad)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Khem Raj
2012-06-20 08:18:39 -07:00
committed by Richard Purdie
parent 7fb442a320
commit c0b54eb457
2 changed files with 429 additions and 0 deletions

View File

@@ -67,6 +67,7 @@ SRC_URI = "svn://gcc.gnu.org/svn/gcc/branches;module=${BRANCH};proto=http \
file://mips64-default-n64.patch \
file://arm-hard-float-loader.patch \
file://gcc-argument-list-too-long.patch \
file://fix-g++-sysroot.patch \
"
S = "${TMPDIR}/work-shared/gcc-${PV}-${PR}/${BRANCH}"