don't assemble file.s if -M used
authorJim Bloom <bloom@ucbvax.Berkeley.EDU>
Fri, 6 Sep 1985 02:10:30 +0000 (18:10 -0800)
committerJim Bloom <bloom@ucbvax.Berkeley.EDU>
Fri, 6 Sep 1985 02:10:30 +0000 (18:10 -0800)
SCCS-vsn: old/pcc/cc/cc.c 4.12

usr/src/old/pcc/cc/cc.c

index 846b9e7..ebf7768 100644 (file)
@@ -1,4 +1,4 @@
-static char sccsid[] = "@(#)cc.c 4.11 %G%";
+static char sccsid[] = "@(#)cc.c 4.12 %G%";
 /*
  * cc - front end for C compiler
  */
 /*
  * cc - front end for C compiler
  */
@@ -195,7 +195,7 @@ main(argc, argv)
                        printf("%s:\n", clist[i]);
                        fflush(stdout);
                }
                        printf("%s:\n", clist[i]);
                        fflush(stdout);
                }
-               if (getsuf(clist[i]) == 's') {
+               if (!Mflag && getsuf(clist[i]) == 's') {
                        assource = clist[i];
                        goto assemble;
                } else
                        assource = clist[i];
                        goto assemble;
                } else