Bug 1305819 - set SSSE3_FLAGS for x86-64 Windows clang-cl builds; r=glandium

64-bit Windows builds that use clang-cl need -mssse3 specified, just
like the 32-bit builds.

MozReview-Commit-ID: KAYXYAAw46I

--HG--
extra : rebase_source : c882da5408c6e081b9564c859e73eccc5671287b
This commit is contained in:
Nathan Froyd 2016-09-27 15:35:39 -04:00
parent 0ae8e3bde6
commit 5c6c77e01e

View File

@ -1085,10 +1085,11 @@ case "$target" in
dnl MSVC allows the use of intrinsics without any flags
dnl and doesn't have a separate arch for SSSE3
SSSE3_FLAGS="-arch:SSE2"
dnl clang-cl, however, requires the appropriate flags.
if test -n "$CLANG_CL"; then
SSSE3_FLAGS="-mssse3"
fi
fi
dnl clang-cl requires appropriate flags to enable SSSE3 support
dnl on all architectures.
if test -n "$CLANG_CL"; then
SSSE3_FLAGS="-mssse3"
fi
dnl VS2013+ requires -FS when parallel building by make -jN.
dnl If nothing, compiler sometimes causes C1041 error.