From 16bafb3c947a378709b45224475f541efdda9632 Mon Sep 17 00:00:00 2001 From: Christian Neukirchen Date: Tue, 5 Apr 2016 13:20:17 +0200 Subject: [PATCH] chromium: fix build, enable sysroot only when actually used. --- srcpkgs/chromium/template | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/srcpkgs/chromium/template b/srcpkgs/chromium/template index 0134c61107..c7d5b94edd 100644 --- a/srcpkgs/chromium/template +++ b/srcpkgs/chromium/template @@ -13,7 +13,6 @@ checksum=41840925d3769555ce4ebd780ee0dc6789ffae27b1684006c9b543bcaa35bbd2 only_for_archs="i686 x86_64" lib32disabled=yes nodebug=yes -broken=yes hostmakedepends="yasm python pkg-config perl gperf bison ninja hwids icu-devel" makedepends="libpng-devel gtk+-devel nss-devel pciutils-devel @@ -122,7 +121,7 @@ do_configure() { -Duse_pulseaudio=1 -Duse_mojo=0 -Duse_gconf=0 - -Duse_sysroot=1 + -Duse_sysroot=0 -Denable_widevine=1 -Denable_hangout_services_extension=1" @@ -182,9 +181,7 @@ do_configure() { conf+=" -Darm_float_abi=hard" if [ "$CROSS_BUILD" ]; then sed -i "s/arm-linux-gnueabihf-/${XBPS_CROSS_TRIPLET}-/g" build/common.gypi - conf+=" -Dsysroot=${XBPS_CROSS_BASE}" - else - conf+=" -Dsysroot=" + conf+=" -Duse_sysroot=1 -Dsysroot=${XBPS_CROSS_BASE}" fi ;; esac