Patchwork [meta-browser,1/2] chromium_24.0.1312.52.bb: Fix build with hardfp

login
register
mail settings
Submitter Khem Raj
Date May 26, 2013, 9:35 p.m.
Message ID <1369604103-31315-1-git-send-email-raj.khem@gmail.com>
Download mbox | patch
Permalink /patch/50553/
State New, archived
Headers show

Comments

Khem Raj - May 26, 2013, 9:35 p.m.
Add missing dep on gconf-2
Pass Wno-error=unused-local-typedefs to please gcc 4.8

Signed-off-by: Khem Raj <raj.khem@gmail.com>
CC: Eric BĂ©nard <eric@eukrea.com>
CC: Denis Carikli <denis@eukrea.com>
CC: Otavio Salvador <otavio@ossystems.com.br>

---
 recipes-browser/chromium/chromium_24.0.1312.52.bb | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

Patch

diff --git a/recipes-browser/chromium/chromium_24.0.1312.52.bb b/recipes-browser/chromium/chromium_24.0.1312.52.bb
index a9a2d28..f877812 100644
--- a/recipes-browser/chromium/chromium_24.0.1312.52.bb
+++ b/recipes-browser/chromium/chromium_24.0.1312.52.bb
@@ -1,7 +1,7 @@ 
 DESCRIPTION = "Chromium browser"
 LICENSE = "BSD"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=0750f191c9bbf46869b70508e7eb455b"
-DEPENDS = "xextproto cairo nss gtk+ zlib-native libav libxi libgnome-keyring libxss cups ninja-native"
+DEPENDS = "xextproto cairo nss gtk+ zlib-native libav libxi libgnome-keyring libxss cups ninja-native gconf"
 
 SRC_URI = "http://commondatastorage.googleapis.com/chromium-browser-official/${P}.tar.bz2 \
         file://include.gypi \
@@ -35,7 +35,8 @@  EXTRA_OEGYP =	" \
 	-I ${WORKDIR}/include.gypi \
 	-f ninja \
 "
-
+ARMFPABI_arm = "${@bb.utils.contains('TUNE_FEATURES', 'callconvention-hard', 'arm_float_abi=hard', 'arm_float_abi=softfp', d)}"
+export GYP_DEFINES="${ARMFPABI} release_extra_cflags='-Wno-error=unused-local-typedefs'"
 do_configure() {
 	cd ${S}
 	# replace LD with CXX, to workaround a possible gyp issue?