summaryrefslogtreecommitdiffstats
path: root/libffi/msvcc.sh
diff options
context:
space:
mode:
Diffstat (limited to 'libffi/msvcc.sh')
-rwxr-xr-xlibffi/msvcc.sh5
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)
OpenPOWER on IntegriCloud