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...@gmail.com> Upstream-Status: Inappropriate configuration Signed-off-by: Max Krummenacher <max.oss...@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 -- _______________________________________________ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel