]> git.lizzy.rs Git - plan9front.git/blobdiff - sys/src/cmd/pcc.c
aux/realemu: run cpuproc in same fd group as fileserver
[plan9front.git] / sys / src / cmd / pcc.c
index d18efd9255386387b862f2575ac437cccbbcfaae..6c733ed1269467536a6763a97f08ad1baf6c511a 100644 (file)
@@ -16,7 +16,7 @@ Objtype objtype[] = {
        {"68020",       "2c", "2l", "2", "2.out"},
        {"arm",         "5c", "5l", "5", "5.out"},
        {"amd64",       "6c", "6l", "6", "6.out"},
-       {"alpha",       "7c", "7l", "7", "7.out"},
+       {"arm64",       "7c", "7l", "7", "7.out"},
        {"386",         "8c", "8l", "8", "8.out"},
        {"power64",     "9c", "9l", "9", "9.out"},
        {"sparc",       "kc", "kl", "k", "k.out"},
@@ -133,6 +133,7 @@ main(int argc, char *argv[])
                                        append(&srcs, s);
                                        append(&objs, changeext(s, ot->o));
                                } else if(strcmp(suf, ot->o) == 0 ||
+                                         strcmp(suf, "o") == 0 ||
                                          strcmp(suf, "a") == 0 ||
                                          (suf[0] == 'a' && strcmp(suf+1, ot->o) == 0)) {
                                        append(&objs, s);