diff options
author | Chong Lu <Chong.Lu@windriver.com> | 2014-08-18 17:49:18 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-08-18 21:47:57 +0100 |
commit | 858846df3c14eda21af3e2b158b52f2fea0115ec (patch) | |
tree | ba064701384816e1f4667acc6a36ad5974feae57 | |
parent | b7e451894c2c9b02570deb053f76bae611968151 (diff) | |
download | poky-858846df3c14eda21af3e2b158b52f2fea0115ec.tar.gz |
librsvg: disable Bsymbolic if it is not supported on some hosts
When trying to build on my Centos 5.5 machine, got below error:
| checking for gdk-pixbuf-query-loaders... /home/build/clu1/build/qemux86_standard_glibc-std/bitbake_build/tmp/sysroots/x86_64-linux/usr/bin/gdk-pixbuf-query-loaders
| checking if gcc supports "-Wl,-Bsymbolic-functions" flag...
| configure: error: -Bsymbolic requested but not supported by ld. Use --disable-Bsymbolic to disable
| Configure failed. The contents of all config.log files follows to aid debugging
| ERROR: oe_runconf failed
Set --enable-Bsymbolic=auto to disable it when it is not suppported.
(From OE-Core rev: 8b27ddab61b2ae0b3b502b64d3ad76e72fdb9b60)
Signed-off-by: Chong Lu <Chong.Lu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | meta/recipes-gnome/librsvg/librsvg_2.40.2.bb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/meta/recipes-gnome/librsvg/librsvg_2.40.2.bb b/meta/recipes-gnome/librsvg/librsvg_2.40.2.bb index 34d8ca1bf8..e2b26f5ae7 100644 --- a/meta/recipes-gnome/librsvg/librsvg_2.40.2.bb +++ b/meta/recipes-gnome/librsvg/librsvg_2.40.2.bb | |||
@@ -22,6 +22,10 @@ SRC_URI[archive.sha256sum] = "48049b643294636df7de1a4b997414d699666f5dc44776945c | |||
22 | 22 | ||
23 | EXTRA_OECONF = "--disable-introspection --disable-vala" | 23 | EXTRA_OECONF = "--disable-introspection --disable-vala" |
24 | 24 | ||
25 | # The older ld (2.22) on the host (Centos 6.5) doesn't have the | ||
26 | # -Bsymbolic-functions option, we can disable it for native. | ||
27 | EXTRA_OECONF_append_class-native = " --enable-Bsymbolic=auto" | ||
28 | |||
25 | PACKAGECONFIG ??= "gdkpixbuf" | 29 | PACKAGECONFIG ??= "gdkpixbuf" |
26 | # The gdk-pixbuf loader | 30 | # The gdk-pixbuf loader |
27 | PACKAGECONFIG[gdkpixbuf] = "--enable-pixbuf-loader,--disable-pixbuf-loader,gdk-pixbuf-native" | 31 | PACKAGECONFIG[gdkpixbuf] = "--enable-pixbuf-loader,--disable-pixbuf-loader,gdk-pixbuf-native" |