Browse Source

Patch from Miles Bader: All the -M* options should
suppress linking (right now, only `-M' does).

Eric Andersen 22 years ago
parent
commit
3a99d545ce
1 changed files with 3 additions and 3 deletions
  1. 3 3
      extra/gcc-uClibc/gcc-uClibc.c

+ 3 - 3
extra/gcc-uClibc/gcc-uClibc.c

@@ -218,10 +218,10 @@ int main(int argc, char **argv)
 				case 'E':		/* preprocess only */
 				case 'r':		/* partial-link */
 				case 'i':		/* partial-link */
-				case 'M':       /* map file generation */
-					if (argv[i][2] == 0) linking = 0;
+				case 'M':	    /* generate dependencies */
+					linking = 0;
 					break;
-				case 'l':       /* map file generation */
+				case 'l': 		/* library */
 					libraries[m++] = argv[i];
 					libraries[m] = '\0';
 					break;