Properly handle the -M switch.
This commit is contained in:
parent
fbeaaa3b6f
commit
126c655819
|
@ -58,9 +58,11 @@ int main(int argc, char **argv)
|
|||
case 'c': /* compile or assemble */
|
||||
case 'S': /* generate assembler code */
|
||||
case 'E': /* preprocess only */
|
||||
case 'M': /* map file generation */
|
||||
if (argv[i][2] == 0) linking = 0;
|
||||
break;
|
||||
case 'M': /* map file generation */
|
||||
linking = 0;
|
||||
break;
|
||||
case 'm':
|
||||
if (strcmp("-mno-cygwin", argv[i]) == 0)
|
||||
use_msvcrt = 1;
|
||||
|
|
Loading…
Reference in New Issue