mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 931687 - Add -Gw option when using VS2013. r=glandium
This commit is contained in:
parent
428e4969a8
commit
6d2b5483e4
@ -2079,8 +2079,11 @@ ia64*-hpux*)
|
||||
if test "$_CC_SUITE" -ge "12"; then
|
||||
dnl VS2013+ requires -FS when parallel building by make -jN.
|
||||
dnl If nothing, compiler sometimes causes C1041 error.
|
||||
CFLAGS="$CFLAGS -FS"
|
||||
CXXFLAGS="$CXXFLAGS -FS"
|
||||
dnl
|
||||
dnl Visual Studio 2013 supports -Gw flags
|
||||
dnl http://blogs.msdn.com/b/vcblog/archive/2013/09/11/introducing-gw-compiler-switch.aspx
|
||||
CFLAGS="$CFLAGS -FS -Gw"
|
||||
CXXFLAGS="$CXXFLAGS -FS -Gw"
|
||||
fi
|
||||
# khuey says we can safely ignore MSVC warning C4251
|
||||
# MSVC warning C4244 (implicit type conversion may lose data) warns
|
||||
|
@ -1647,8 +1647,11 @@ ia64*-hpux*)
|
||||
if test "$_CC_SUITE" -ge "12"; then
|
||||
dnl VS2013+ requires -FS when parallel building by make -jN.
|
||||
dnl If nothing, compiler sometimes causes C1041 error.
|
||||
CFLAGS="$CFLAGS -FS"
|
||||
CXXFLAGS="$CXXFLAGS -FS"
|
||||
dnl
|
||||
dnl Visual Studio 2013 supports -Gw flags
|
||||
dnl http://blogs.msdn.com/b/vcblog/archive/2013/09/11/introducing-gw-compiler-switch.aspx
|
||||
CFLAGS="$CFLAGS -FS -Gw"
|
||||
CXXFLAGS="$CXXFLAGS -FS -Gw"
|
||||
fi
|
||||
# khuey says we can safely ignore MSVC warning C4251
|
||||
# MSVC warning C4244 (implicit type conversion may lose data) warns
|
||||
|
Loading…
Reference in New Issue
Block a user