Bug 880976: fix SSSE tests for controling libyuv asm disable (especially on arm) r=ted

This commit is contained in:
Randell Jesup 2013-07-10 14:25:59 -04:00
parent 9ac1c45a53
commit 6c1bf6f3dc

View File

@ -9189,8 +9189,10 @@ else
fi fi
# Don't try to compile ssse3/sse4.1 code if toolchain doesn't support # Don't try to compile ssse3/sse4.1 code if toolchain doesn't support
if test -z "$HAVE_TOOLCHAIN_SUPPORT_SSSE3" || test -z "$HAVE_TOOLCHAIN_SUPPORT_MSSE4_1"; then if test -n "$INTEL_ARCHITECTURE"; then
if test -z "$HAVE_TOOLCHAIN_SUPPORT_MSSSE3" -o -z "$HAVE_TOOLCHAIN_SUPPORT_MSSE4_1"; then
EXTRA_GYP_DEFINES="$EXTRA_GYP_DEFINES -D yuv_disable_asm=1" EXTRA_GYP_DEFINES="$EXTRA_GYP_DEFINES -D yuv_disable_asm=1"
fi
fi fi
if test -n "$MOZ_WEBRTC"; then if test -n "$MOZ_WEBRTC"; then