Hi, this time with the patch.
Riku
diff -Nru chromium-browser-46.0.2490.13/debian/changelog chromium-browser-46.0.2490.13/debian/changelog --- chromium-browser-46.0.2490.13/debian/changelog 2015-09-05 17:45:44.000000000 +0000 +++ chromium-browser-46.0.2490.13/debian/changelog 2015-10-13 08:26:24.000000000 +0000 @@ -1,3 +1,9 @@ +chromium-browser (46.0.2490.13-1.1) UNRELEASED; urgency=medium + + * armhf build + + -- Riku Voipio <r...@asachi.debian.org> Fri, 25 Sep 2015 18:07:49 +0000 + chromium-browser (46.0.2490.13-1) experimental; urgency=medium * New upstream beta release. diff -Nru chromium-browser-46.0.2490.13/debian/control chromium-browser-46.0.2490.13/debian/control --- chromium-browser-46.0.2490.13/debian/control 2015-09-05 17:44:49.000000000 +0000 +++ chromium-browser-46.0.2490.13/debian/control 2015-09-25 18:09:09.000000000 +0000 @@ -85,7 +85,7 @@ Standards-Version: 3.9.6 Package: chromium -Architecture: i386 amd64 +Architecture: i386 amd64 armhf arm64 Built-Using: ${Built-Using} Depends: ${misc:Depends}, @@ -106,7 +106,7 @@ This package contains the web browser component. Package: chromium-dbg -Architecture: i386 amd64 +Architecture: i386 amd64 armhf arm64 Section: debug Priority: extra Built-Using: ${Built-Using} @@ -135,7 +135,7 @@ ro, ru, sk, sl, sr, sv, sw, ta, te, th, tr, uk, vi, zh-CN, zh-TW Package: chromedriver -Architecture: i386 amd64 +Architecture: i386 amd64 armhf arm64 Depends: ${misc:Depends}, ${shlibs:Depends}, diff -Nru chromium-browser-46.0.2490.13/debian/patches/fix-clang-wanring chromium-browser-46.0.2490.13/debian/patches/fix-clang-wanring --- chromium-browser-46.0.2490.13/debian/patches/fix-clang-wanring 1970-01-01 00:00:00.000000000 +0000 +++ chromium-browser-46.0.2490.13/debian/patches/fix-clang-wanring 2015-10-12 11:36:56.000000000 +0000 @@ -0,0 +1,17 @@ +Index: chromium-browser-46.0.2490.13/build/common.gypi +=================================================================== +--- chromium-browser-46.0.2490.13.orig/build/common.gypi ++++ chromium-browser-46.0.2490.13/build/common.gypi +@@ -2643,10 +2643,10 @@ + '-Wno-deprecated-register', + + # TODO(hans): Get this cleaned up, http://crbug.com/428099 +- '-Wno-inconsistent-missing-override', ++ #'-Wno-inconsistent-missing-override', + + # TODO(thakis): Enable this, crbug.com/507717 +- '-Wno-shift-negative-value', ++ #'-Wno-shift-negative-value', + ], + }, + 'includes': [ 'set_clang_warning_flags.gypi', ], diff -Nru chromium-browser-46.0.2490.13/debian/patches/series chromium-browser-46.0.2490.13/debian/patches/series --- chromium-browser-46.0.2490.13/debian/patches/series 2015-09-06 04:49:58.000000000 +0000 +++ chromium-browser-46.0.2490.13/debian/patches/series 2015-10-12 11:35:58.000000000 +0000 @@ -15,3 +15,4 @@ system/clang.patch system/ffmpeg.patch fix.patch +fix-clang-wanring diff -Nru chromium-browser-46.0.2490.13/debian/rules chromium-browser-46.0.2490.13/debian/rules --- chromium-browser-46.0.2490.13/debian/rules 2015-09-05 17:44:49.000000000 +0000 +++ chromium-browser-46.0.2490.13/debian/rules 2015-10-13 07:33:07.000000000 +0000 @@ -6,6 +6,8 @@ # enable all build hardening flags export DEB_BUILD_MAINT_OPTIONS=hardening=+all +DEB_HOST_ARCH ?= $(shell dpkg-architecture -qDEB_HOST_ARCH) + # linker flags to avoid memory allocation issues on i386 export LDFLAGS+=-Wl,--no-keep-memory -Wl,--reduce-memory-overheads -Wl,--hash-size=7919 @@ -15,6 +17,24 @@ # treat all warnings as errors defines=werror= +ifeq (armhf,$(DEB_HOST_ARCH)) +# non-NEON armv7 machines are rare and the benifit of NEON is major. Autodetection +# didn't compile, so I suggest we enable NEON for the benefit of vast majority +# use arm_use_neon=1 and arm_fpu=neon for speed +defines += \ + sysroot= \ + arm_neon=1 \ + arm_use_neon=1 \ + use_cups=1 \ + v8_use_arm_eabi_hardfloat=true \ + arm_fpu=neon \ + arm_float_abi=hard \ + arm_thumb=1 \ + armv7=1 \ + remove_webcore_debug_symbols=1 \ + arm_version=7 +endif + # use clang instead of gcc defines+=clang=1 defines+=clang_use_chrome_plugins= @@ -134,8 +153,9 @@ override_dh_fixperms: dh_fixperms --exclude chrome-sandbox +# readelf oom override_dh_strip: - dh_strip --dbg-package chromium-dbg + dh_strip -v --dbg-package chromium-dbg override_dh_gencontrol: dh_gencontrol -- -VBuilt-Using="$(shell dpkg-query -f '$${source:Package} (= $${source:Version}), ' -W libjs-jquery libjs-jquery-flot)"