diff options
author | Zhenhua Luo <b19537@freescale.com> | 2012-11-30 08:31:57 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-12-03 14:47:57 +0000 |
commit | b7a7e6eebac711642944295ad62c996d6a75891c (patch) | |
tree | 80a7d4a78f3126ec82e75b6430fdbbd524b1af94 | |
parent | 7f4262a5a41a65c889d7029a21c208c1fa986aa9 (diff) | |
download | poky-b7a7e6eebac711642944295ad62c996d6a75891c.tar.gz |
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.
(From OE-Core rev: ff5552a8432298c32aec2ace72656b0d7059dad3)
Signed-off-by: Zhenhua Luo <b19537@freescale.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | 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 9ec507bad9..615c89e856 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 \ | |||
9 | file://list.c;beginline=4;endline=13;md5=cdbfa3dee51c099edb04e39f762ee907 \ | 9 | file://list.c;beginline=4;endline=13;md5=cdbfa3dee51c099edb04e39f762ee907 \ |
10 | file://trio.c;beginline=5;endline=14;md5=6c025753c86d958722ec76e94cae932e" | 10 | file://trio.c;beginline=5;endline=14;md5=6c025753c86d958722ec76e94cae932e" |
11 | 11 | ||
12 | INC_PR = "r1" | ||
13 | |||
12 | DEPENDS_class-native = "python-native" | 14 | DEPENDS_class-native = "python-native" |
13 | DEPENDS =+ "zlib" | 15 | DEPENDS =+ "zlib" |
14 | 16 | ||
@@ -24,7 +26,7 @@ do_configure_prepend () { | |||
24 | sed -i -e '/.*ansidecl.h.*/d' ${S}/configure.in | 26 | sed -i -e '/.*ansidecl.h.*/d' ${S}/configure.in |
25 | } | 27 | } |
26 | 28 | ||
27 | EXTRA_OECONF = "--without-python --without-debug --without-legacy --without-catalog --without-docbook --with-c14n --without-lzma" | 29 | EXTRA_OECONF = "--without-python --without-debug --without-legacy --without-catalog --without-docbook --with-c14n --without-lzma --with-fexceptions" |
28 | EXTRA_OECONF_class-native = "--with-python=${STAGING_BINDIR}/python --without-legacy --with-catalog --without-docbook --with-c14n --without-lzma" | 30 | EXTRA_OECONF_class-native = "--with-python=${STAGING_BINDIR}/python --without-legacy --with-catalog --without-docbook --with-c14n --without-lzma" |
29 | EXTRA_OECONF_class-nativesdk = "--with-python=${STAGING_BINDIR}/python --without-legacy --with-catalog --without-docbook --with-c14n --without-lzma" | 31 | EXTRA_OECONF_class-nativesdk = "--with-python=${STAGING_BINDIR}/python --without-legacy --with-catalog --without-docbook --with-c14n --without-lzma" |
30 | EXTRA_OECONF_linuxstdbase = "--without-python --with-debug --with-legacy --with-catalog --with-docbook --with-c14n --without-lzma" | 32 | EXTRA_OECONF_linuxstdbase = "--without-python --with-debug --with-legacy --with-catalog --with-docbook --with-c14n --without-lzma" |