[yocto] [PATCH 1/1] dylan: fix C++ standard library headers on OS X

Richard Purdie richard.purdie at linuxfoundation.org
Thu May 8 04:46:46 PDT 2014


On Mon, 2014-05-05 at 23:12 +0000, Woodyatt, James wrote:
> Resend, this time with all contents.
> 
> commit 562fa987cea60d61c256195adce7e83bf1c1a8c9
> Author: james woodyatt <james.woodyatt at intel.com>
> Date:   Thu May 1 14:44:39 2014 -0700
> 
>     Fix C++ standard library header directory configuration.
>     
>     Remove the 4.2.1 directory from the --with-gxx-include-dir path provided
>     to the configure script for GCC 4.7 in the cross-canadian build.
> 
> diff --git a/recipes-devtools/gcc/gcc-cross-canadian_4.7.bbappend b/recipes-devtools/gcc/gcc-cross-canadian_4.7.bbappend
> index 3fcc012..083b930 100644
> --- a/recipes-devtools/gcc/gcc-cross-canadian_4.7.bbappend
> +++ b/recipes-devtools/gcc/gcc-cross-canadian_4.7.bbappend
> @@ -4,7 +4,7 @@ INSANE_SKIP_${PN}_append_darwinsdk = " staticdev"
>  LDFLAGS_darwinsdk = "${BUILDSDK_LDFLAGS} -L${libdir}/.."
>  
>  # Change gxx-include-dir
> -EXTRA_OECONF_PATHS_darwinsdk = "--with-gxx-include-dir=${SDKPATH}/sysroots/${TUNE_PKGARCH}${TARGET_VENDOR}-${TARGET_OS}/usr/include/c++/4.2.1 \
> +EXTRA_OECONF_PATHS_darwinsdk = "--with-gxx-include-dir=${SDKPATH}/sysroots/${TUNE_PKGARCH}${TARGET_VENDOR}-${TARGET_OS}/usr/include/c++ \
>                        --with-build-time-tools=${STAGING_DIR_NATIVE}${prefix_native}/${TARGET_SYS}/bin \
>                        --with-sysroot=${SDKPATH}/sysroots/${TUNE_PKGARCH}${TARGET_VENDOR}-${TARGET_OS} \
>                        --with-build-sysroot=${STAGING_DIR_TARGET}"
> 

I've applied this fix to the dylan, dora, daisy and master branches. I
tweaked the commit message a little to match the guidelines.

Cheers,

Richard




More information about the yocto mailing list