[oe] [meta-browser][PATCH] cef3: rework "fix build with gcc 4.9.4"

Max Krummenacher max.oss.09 at gmail.com
Mon Nov 9 20:04:59 UTC 2015


The link errors addressed with commit 
'7887e66d5df998b91d4df24a150c32a692784451 fix build with gcc 4.9.4'
occur only when linking with gold.
Thus apply the fix only if distro features contain ld-is-gold.

Signed-off-by: Max Krummenacher <max.oss.09 at gmail.com>

Upstream-Status: Inappropriate configuration
---
 recipes-browser/chromium/cef3_280796.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Hi

This addresses the review comment by Khem
http://lists.openembedded.org/pipermail/openembedded-devel/2015-November/104408.html

Max
diff --git a/recipes-browser/chromium/cef3_280796.bb b/recipes-browser/chromium/cef3_280796.bb
index 079e820..d827b8e 100644
--- a/recipes-browser/chromium/cef3_280796.bb
+++ b/recipes-browser/chromium/cef3_280796.bb
@@ -35,7 +35,7 @@ export BUILD_TARGET_ARCH="${TARGET_ARCH}"
 export GYP_DEFINES="${GYP_ARCH_DEFINES} release_extra_cflags='-Wno-error=unused-local-typedefs' sysroot=''"
 
 EXTRA_OEGYP =	" \
-    -Ddisable_fatal_linker_warnings=1 \
+    ${@base_contains('DISTRO_FEATURES', 'ld-is-gold', '-Ddisable_fatal_linker_warnings=1', '', d)} \
 "
 
 do_configure_prepend() {
-- 
1.8.4.5




More information about the Openembedded-devel mailing list