All of lore.kernel.org
 help / color / mirror / Atom feed
From: Max Krummenacher <max.oss.09@gmail.com>
To: openembedded-devel@lists.openembedded.org
Subject: [meta-browser][PATCH v2 5/5] cef3: fix build with gcc 4.9.4
Date: Sat,  7 Nov 2015 13:20:29 +0100	[thread overview]
Message-ID: <1446898829-21243-6-git-send-email-max.oss.09@gmail.com> (raw)
In-Reply-To: <1446898829-21243-1-git-send-email-max.oss.09@gmail.com>

During the final link we get errors like this:
.../4.9.4/ld: warning: hidden symbol 'sqlite3_temp_directory' in obj/.../sqlite.sqlite3.o) is referenced by DSO .../usr/lib/libsoftokn3.so
.../4.9.4/ld: error: treating warnings as errors
collect2: error: ld returned 1 exit status

Use chromium.bb solution to not treat linker warnings as errors.

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

Upstream-Status: Inappropriate configuration
Signed-off-by: Max Krummenacher <max.oss.09@gmail.com>
---
 recipes-browser/chromium/cef3_280796.bb | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/recipes-browser/chromium/cef3_280796.bb b/recipes-browser/chromium/cef3_280796.bb
index df4a80f..828605b 100644
--- a/recipes-browser/chromium/cef3_280796.bb
+++ b/recipes-browser/chromium/cef3_280796.bb
@@ -34,6 +34,10 @@ export GYP_GENERATORS="ninja"
 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 \
+"
+
 do_configure_prepend() {
     # there is no rule for the x86-64 architecture, recycle the i586 one
     cp  cef/i586_ozone.gypi  cef/x86_64_ozone.gypi
@@ -46,7 +50,7 @@ do_configure_append() {
     # Configure cef
     #------------------------
     cd cef
-    ./cef_create_projects.sh -I ${BUILD_TARGET_ARCH}_ozone.gypi --depth ../
+    ./cef_create_projects.sh -I ${BUILD_TARGET_ARCH}_ozone.gypi --depth ../ ${EXTRA_OEGYP}
     cd -
 }
 
-- 
1.8.4.5



  parent reply	other threads:[~2015-11-07 12:23 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-11-07 12:20 [meta-browser][PATCH v2 0/5] chromium/cef3: fix gcc build errors Max Krummenacher
2015-11-07 12:20 ` [meta-browser][PATCH v2 1/5] chromium: fix gcc5 compile issues Max Krummenacher
2015-11-07 12:20 ` [meta-browser][PATCH v2 2/5] cef3_280796.bb: change indent to 4 spaces Max Krummenacher
2015-11-07 12:20 ` [meta-browser][PATCH v2 3/5] cef3: fix gcc5 compile issues Max Krummenacher
2015-11-07 12:20 ` [meta-browser][PATCH v2 4/5] cef3: fix build of x86-64 Max Krummenacher
2015-11-07 12:20 ` Max Krummenacher [this message]
2015-11-07 19:52   ` [meta-browser][PATCH v2 5/5] cef3: fix build with gcc 4.9.4 Khem Raj
2015-11-09 10:51     ` Otavio Salvador
2015-11-09 11:55       ` Max Krummenacher
2015-11-09 10:51 ` [meta-browser][PATCH v2 0/5] chromium/cef3: fix gcc build errors Martin Jansa

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1446898829-21243-6-git-send-email-max.oss.09@gmail.com \
    --to=max.oss.09@gmail.com \
    --cc=openembedded-devel@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.