[OE-core] [oe-commits] Zhenhua Luo : libxml2: add --with-fexceptions in configure flags to support exception handling in C++ programs

Martin Jansa martin.jansa at gmail.com
Tue Dec 4 09:25:30 UTC 2012


On Mon, Dec 03, 2012 at 02:49:22PM +0000, git at git.openembedded.org wrote:
> Module: openembedded-core.git
> Branch: master
> Commit: ff5552a8432298c32aec2ace72656b0d7059dad3
> URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=ff5552a8432298c32aec2ace72656b0d7059dad3
> 
> Author: Zhenhua Luo <b19537 at freescale.com>
> Date:   Fri Nov 30 08:31:57 2012 +0000
> 
> libxml2: add --with-fexceptions in configure flags to support exception handling in C++ programs
> 
> Without this flag, the library has a problem with C++ programs using exception handling.
> 
> Signed-off-by: Zhenhua Luo <b19537 at freescale.com>
> Signed-off-by: Saul Wold <sgw at linux.intel.com>
> Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
> 
> ---
> 
>  meta/recipes-core/libxml/libxml2.inc |    4 +++-
>  1 files changed, 3 insertions(+), 1 deletions(-)
> 
> diff --git a/meta/recipes-core/libxml/libxml2.inc b/meta/recipes-core/libxml/libxml2.inc
> index 9ec507b..615c89e 100644
> --- a/meta/recipes-core/libxml/libxml2.inc
> +++ b/meta/recipes-core/libxml/libxml2.inc
> @@ -9,6 +9,8 @@ LIC_FILES_CHKSUM = "file://Copyright;md5=bb90c48926316d9af6e2d70ca7013ade \
>                      file://list.c;beginline=4;endline=13;md5=cdbfa3dee51c099edb04e39f762ee907 \
>                      file://trio.c;beginline=5;endline=14;md5=6c025753c86d958722ec76e94cae932e"
>  
> +INC_PR = "r1"
> +

This does not help at all.

opembedded-core/meta/recipes-core/libxml $ grep -R PR.= .
./libxml2.inc:INC_PR = "r1"
./libxml2_2.9.0.bb:PR = "r0"

Change PR in ./libxml2_2.9.0.bb to PR = "${INC_PR}.0" if you want to use
INC_PR.

Cheers,

>  DEPENDS_class-native = "python-native"
>  DEPENDS =+ "zlib"
>  
> @@ -24,7 +26,7 @@ do_configure_prepend () {
>  	sed -i -e '/.*ansidecl.h.*/d' ${S}/configure.in
>  }
>  
> -EXTRA_OECONF = "--without-python --without-debug --without-legacy --without-catalog --without-docbook --with-c14n --without-lzma"
> +EXTRA_OECONF = "--without-python --without-debug --without-legacy --without-catalog --without-docbook --with-c14n --without-lzma --with-fexceptions"
>  EXTRA_OECONF_class-native = "--with-python=${STAGING_BINDIR}/python --without-legacy --with-catalog --without-docbook --with-c14n --without-lzma"
>  EXTRA_OECONF_class-nativesdk = "--with-python=${STAGING_BINDIR}/python --without-legacy --with-catalog --without-docbook --with-c14n --without-lzma"
>  EXTRA_OECONF_linuxstdbase = "--without-python --with-debug --with-legacy --with-catalog --with-docbook --with-c14n --without-lzma"
> 
> 
> _______________________________________________
> Openembedded-commits mailing list
> Openembedded-commits at lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-commits

-- 
Martin 'JaMa' Jansa     jabber: Martin.Jansa at gmail.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20121204/36e1b014/attachment-0002.sig>


More information about the Openembedded-core mailing list