X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=main.c;h=32456541def6785621cfaf8c9e2bd8975dd53ffc;hb=d9c2f28d8ca23867f292a952b0543807d35e672f;hp=dc9cb03bf6e3ee0a3dc897b47bb65682501295e4;hpb=ef481ac0364d6478e0528236923f022a70cbc698;p=cparser diff --git a/main.c b/main.c index dc9cb03..3245654 100644 --- a/main.c +++ b/main.c @@ -957,9 +957,10 @@ int main(int argc, char **argv) GET_ARG_AFTER(opt, "-march="); snprintf(arch_opt, sizeof(arch_opt), "%s-arch=%s", cpu_arch, opt); int res = firm_be_option(arch_opt); - if (res == 0) + if (res == 0) { + fprintf(stderr, "Unknown architecture '%s'\n", arch_opt); argument_errors = true; - else { + } else { snprintf(arch_opt, sizeof(arch_opt), "%s-opt=%s", cpu_arch, opt); int res = firm_be_option(arch_opt); if (res == 0)