mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1193467: Allow SSE2 on clang-cl builds. r=glandium
This commit is contained in:
parent
073ee0e64c
commit
377441463e
@ -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