From 718dc50fccbfdd4df0c677ae200fb8adb81fdf81 Mon Sep 17 00:00:00 2001 From: Juergen Buchmueller Date: Mon, 5 Dec 2016 17:05:11 +0100 Subject: [PATCH] icecat: fix cross --- srcpkgs/icecat/template | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/srcpkgs/icecat/template b/srcpkgs/icecat/template index 196c6397b92..7fca947fe95 100644 --- a/srcpkgs/icecat/template +++ b/srcpkgs/icecat/template @@ -12,8 +12,6 @@ checksum="8163e5bc53f69d9f9b0fc5e9f95fae33da8139ae0f902756751cadbaa27e6ee9" nopie=yes lib32disabled=yes -nocross="https://build.voidlinux.eu/builders/armv7l_builder/builds/29588/steps/shell_3/logs/stdio" - hostmakedepends="unzip zip pkg-config perl python yasm" makedepends="nss-devel libjpeg-turbo-devel icu-devel pixman-devel sqlite-devel gst-plugins-base1-devel gtk+-devel @@ -40,15 +38,17 @@ if [ ${XBPS_GCC_VERSION_MAJOR} -gt 5 ]; then CXXFLAGS+=" -fno-delete-null-pointer-checks -fno-lifetime-dse -fno-schedule-insns2" fi -case "$XBPS_TARGET_MACHINE" in - *-musl) CXXFLAGS+=" -DNO_STABS_SUPPORT=1" - ;; -esac +if [ -n "$CROSS_BUILD" ]; then + # Void's system-sqlite is compiled with SQLITE_ENABLE_DBSTAT_VTAB, + # but the test fails when cross compiling + export ac_cv_sqlite_dbstat_vtab=yes +fi pre_configure() { case "$XBPS_TARGET_MACHINE" in *-musl) - cp ${FILESDIR}/stab.h toolkit/crashreporter/google-breakpad/src/ + $XBPS_FETCH_CMD http://git.alpinelinux.org/cgit/aports/plain/community/firefox-esr/stab.h + mv stab.h toolkit/crashreporter/google-breakpad/src/ ;; esac