X-Git-Url: https://git.ozlabs.org/?a=blobdiff_plain;ds=sidebyside;f=tools%2Fccanlint%2Fcompulsory_tests%2Fcompile_test_helpers.c;h=207c0b2d346378bbdf0a79b9755484e1df18f524;hb=63bceea014e091a2f2907e49f7c3b33f042106f4;hp=ac29aa3cd2799ed55bb24281fc0414b89df8815e;hpb=fb4c4c3ddc24772f71a64ec02d2c9ddaeb6e9f6b;p=ccan-lca-2011.git diff --git a/tools/ccanlint/compulsory_tests/compile_test_helpers.c b/tools/ccanlint/compulsory_tests/compile_test_helpers.c index ac29aa3..207c0b2 100644 --- a/tools/ccanlint/compulsory_tests/compile_test_helpers.c +++ b/tools/ccanlint/compulsory_tests/compile_test_helpers.c @@ -25,8 +25,9 @@ static char *compile(struct manifest *m, bool keep, struct ccan_file *cfile) { - cfile->compiled = maybe_temp_file(m, "", keep, cfile->fullname); - return compile_object(m, cfile->fullname, ccan_dir, cfile->compiled); + cfile->compiled = maybe_temp_file(m, ".o", keep, cfile->fullname); + return compile_object(m, cfile->fullname, ccan_dir, "", + cfile->compiled); } static void *do_compile_test_helpers(struct manifest *m,