summaryrefslogtreecommitdiff
path: root/msvcc.sh
diff options
context:
space:
mode:
authorAnthony Green <green@gmachine.(none)>2010-04-13 10:19:28 -0400
committerAnthony Green <green@gmachine.(none)>2010-04-13 10:19:28 -0400
commitf2c2a4fce9b3eca9f39b4f3545118bc256da4a73 (patch)
treef170fd9df8d3fb1ad4061675a6289b7246d765ba /msvcc.sh
parentc0b69e57d529e33d18b658cc5572a21e3663247c (diff)
downloadlibffi-f2c2a4fce9b3eca9f39b4f3545118bc256da4a73.tar.gz
Remove warnings and add OS/2 support
Diffstat (limited to 'msvcc.sh')
-rwxr-xr-xmsvcc.sh5
1 files changed, 3 insertions, 2 deletions
diff --git a/msvcc.sh b/msvcc.sh
index 23be1e3..551c73d 100755
--- a/msvcc.sh
+++ b/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)