[oe-commits] Ting Liu : libcroco: disable Bsymbolic if it is not supported on some hosts

git at git.openembedded.org git at git.openembedded.org
Wed Sep 11 09:55:09 UTC 2013


Module: openembedded-core.git
Branch: master
Commit: e7c691b33573b3309752d6eb397486c2c8620adb
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=e7c691b33573b3309752d6eb397486c2c8620adb

Author: Ting Liu <b28495 at freescale.com>
Date:   Wed Sep 11 11:11:15 2013 +0800

libcroco: 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 gtkdoc-mkpdf... no
| checking whether to build gtk-doc documentation... no
| checking for CROCO... yes
| 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
|
| configure: exit 1
| ERROR: oe_runconf failed

Set --enable-Bsymbolic=auto to disable it when it is not suppported.

Signed-off-by: Ting Liu <b28495 at freescale.com>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>

---

 meta/recipes-support/libcroco/libcroco_0.6.8.bb |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/meta/recipes-support/libcroco/libcroco_0.6.8.bb b/meta/recipes-support/libcroco/libcroco_0.6.8.bb
index 3c5dc9a..d175c46 100644
--- a/meta/recipes-support/libcroco/libcroco_0.6.8.bb
+++ b/meta/recipes-support/libcroco/libcroco_0.6.8.bb
@@ -10,7 +10,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=55ca817ccb7d5b5b66355690e9abc605 \
 SECTION = "x11/utils"
 DEPENDS = "glib-2.0 libxml2 zlib"
 BBCLASSEXTEND = "native"
-
+EXTRA_OECONF += "--enable-Bsymbolic=auto"
 PR = "r1"
 
 inherit autotools pkgconfig gnomebase



More information about the Openembedded-commits mailing list