[m-rev.] diff: fix compilation problem with MSVC
Julien Fischer
jfischer at opturion.com
Mon Feb 17 13:44:50 AEDT 2014
Branches: 14.01, master
Fix a compilation problem with MSVC.
scripts/mgnuc.in:
C_COMPILER_TYPE still uses the cl_* style names, so we still need
to match agains that rather than msvc_*.
Julien.
diff --git a/scripts/mgnuc.in b/scripts/mgnuc.in
index 57136ed..42d7041 100644
--- a/scripts/mgnuc.in
+++ b/scripts/mgnuc.in
@@ -87,7 +87,7 @@ case "$C_COMPILER_TYPE" in
DISABLE_OPTS_OPT="-O0"
COMPILER=lcc
;;
- msvc*)
+ msvc*|cl*)
ANSI_OPTS=""
CHECK_OPTS="-nologo" # Suppress the MSVC banner message.
OPT_OPTS=""
More information about the reviews
mailing list