Commit 126c6558 authored by Dimitrie O. Paun's avatar Dimitrie O. Paun Committed by Alexandre Julliard

Properly handle the -M switch.

parent fbeaaa3b
...@@ -58,9 +58,11 @@ int main(int argc, char **argv) ...@@ -58,9 +58,11 @@ int main(int argc, char **argv)
case 'c': /* compile or assemble */ case 'c': /* compile or assemble */
case 'S': /* generate assembler code */ case 'S': /* generate assembler code */
case 'E': /* preprocess only */ case 'E': /* preprocess only */
case 'M': /* map file generation */
if (argv[i][2] == 0) linking = 0; if (argv[i][2] == 0) linking = 0;
break; break;
case 'M': /* map file generation */
linking = 0;
break;
case 'm': case 'm':
if (strcmp("-mno-cygwin", argv[i]) == 0) if (strcmp("-mno-cygwin", argv[i]) == 0)
use_msvcrt = 1; use_msvcrt = 1;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment