mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-07 18:04:46 +00:00
Bug 1193467: Allow SSE2 on clang-cl builds. r=glandium
--HG-- extra : rebase_source : 93cb856526813218877c87e5ab73687373719f68
This commit is contained in:
parent
1498226863
commit
3fc8acc770
@ -2251,8 +2251,10 @@ ia64*-hpux*)
|
||||
_DEFINES_CXXFLAGS='-FI $(DEPTH)/dist/include/mozilla-config.h -DMOZILLA_CLIENT'
|
||||
CFLAGS="$CFLAGS -W3 -Gy"
|
||||
CXXFLAGS="$CXXFLAGS -W3 -Gy"
|
||||
if test "$CPU_ARCH" = "x86"; then
|
||||
if test "$CPU_ARCH" = "x86" -a -z "$CLANG_CL"; then
|
||||
dnl VS2012+ defaults to -arch:SSE2.
|
||||
dnl Clang-cl gets confused by -arch:IA32, so don't add it.
|
||||
dnl (See https://llvm.org/bugs/show_bug.cgi?id=24335)
|
||||
CFLAGS="$CFLAGS -arch:IA32"
|
||||
CXXFLAGS="$CXXFLAGS -arch:IA32"
|
||||
fi
|
||||
|
@ -1741,8 +1741,10 @@ ia64*-hpux*)
|
||||
_DEFINES_CXXFLAGS='-FI $(DEPTH)/js/src/js-confdefs.h -DMOZILLA_CLIENT'
|
||||
CFLAGS="$CFLAGS -W3 -Gy"
|
||||
CXXFLAGS="$CXXFLAGS -W3 -Gy"
|
||||
if test "$CPU_ARCH" = "x86"; then
|
||||
if test "$CPU_ARCH" = "x86" -a -z "$CLANG_CL"; then
|
||||
dnl VS2012+ defaults to -arch:SSE2.
|
||||
dnl Clang-cl gets confused by -arch:IA32, so don't add it.
|
||||
dnl (See https://llvm.org/bugs/show_bug.cgi?id=24335)
|
||||
CFLAGS="$CFLAGS -arch:IA32"
|
||||
CXXFLAGS="$CXXFLAGS -arch:IA32"
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user