From: Tor Arne Vestbø Date: Tue, 10 Jan 2012 13:24:59 +0000 (+0100) Subject: Don't enable V8's snapshot feature when building inside scratchbox for ARM X-Git-Tag: qt-v5.0.0-alpha1~1891 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a7f4139af02d0ace2c0a408668a51505f1f964e4;p=profile%2Fivi%2Fqtbase.git Don't enable V8's snapshot feature when building inside scratchbox for ARM It will result in QEMU crashing. Change-Id: Ie2f607b6335ae0d08b9a6d67acc22ea666bcd780 Reviewed-by: Simon Hausmann --- diff --git a/configure b/configure index a56dacd..c057351 100755 --- a/configure +++ b/configure @@ -7239,6 +7239,11 @@ else *) canUseV8Snapshot="no" ;; esac + else + if [ -n "$_SBOX_DIR" -a "$CFG_ARCH" == "arm" ]; then + # QEMU crashes when building inside Scratchbox with an ARM target + canUseV8Snapshot="no" + fi fi if [ "$CFG_V8SNAPSHOT" = "auto" ]; then CFG_V8SNAPSHOT="$canUseV8Snapshot"