Patchwork [v2,3/9] gcc-4.9: Ensure c++ includes are in /usr/include/c++/${BINV}

login
register
mail settings
Submitter Peter Bigot
Date Aug. 14, 2014, 7:05 p.m.
Message ID <1408043159-8108-4-git-send-email-pab@pabigot.com>
Download mbox | patch
Permalink /patch/78269/
State Accepted
Commit 46a812f3190f695efc9f5a01bea8f4b612c71ec0
Headers show

Comments

Peter Bigot - Aug. 14, 2014, 7:05 p.m.
Apply to gcc 4.9 the recent fix to the --with-gxx-include-dir override.

Original OE-Core rev: 5a2ff3e8f7cd7a47a5ab4e581847ecc4df87fca

Signed-off-by: Peter A. Bigot <pab@pabigot.com>
---
 meta/recipes-devtools/gcc/gcc-4.9.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch

diff --git a/meta/recipes-devtools/gcc/gcc-4.9.inc b/meta/recipes-devtools/gcc/gcc-4.9.inc
index 01dfde1..bdea3405e 100644
--- a/meta/recipes-devtools/gcc/gcc-4.9.inc
+++ b/meta/recipes-devtools/gcc/gcc-4.9.inc
@@ -120,7 +120,7 @@  EXTRA_OECONF_INTERMEDIATE = "\
 EXTRA_OECONF_append_libc-uclibc = " --disable-decimal-float "
 
 EXTRA_OECONF_PATHS = "\ 
-    --with-gxx-include-dir=${STAGING_DIR_TARGET}${target_includedir}/c++ \ 
+    --with-gxx-include-dir=${STAGING_DIR_TARGET}${target_includedir}/c++/${BINV} \ 
     --with-sysroot=${STAGING_DIR_TARGET} \ 
     --with-build-sysroot=${STAGING_DIR_TARGET} \
 "