diff options
Diffstat (limited to 'libffi/msvcc.sh')
-rwxr-xr-x | libffi/msvcc.sh | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/libffi/msvcc.sh b/libffi/msvcc.sh index 23be1e30ea9..551c73d9655 100755 --- a/libffi/msvcc.sh +++ b/libffi/msvcc.sh @@ -42,7 +42,7 @@ # format and translated into something sensible for cl or ml. # -args="-nologo -W3" +args="-nologo" md=-MD cl="cl" ml="ml" @@ -108,7 +108,8 @@ do shift 1 ;; -Wall) - args="$args -Wall" + # -Wall on MSVC is overzealous. Use -W3 instead. + args="$args -W3" shift 1 ;; -Werror) |