winegcc: fix -M support

Dimitrie O. Paun dpaun at rogers.com
Thu Jan 2 17:56:30 CST 2003


ChangeLog
  Properly handle the -M switch.

--- tools/winegcc.c.A1	2002-12-31 01:06:11.000000000 -0500
+++ tools/winegcc.c	2002-12-31 15:31:13.000000000 -0500
@@ -58,9 +58,11 @@
                 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;


-- 
Dimi.




More information about the wine-patches mailing list