chromium: fix build, enable sysroot only when actually used.
This commit is contained in:
parent
dbe0139ada
commit
16bafb3c94
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue