X-Git-Url: https://git.ozlabs.org/?a=blobdiff_plain;f=tools%2Fccanlint%2Fcompulsory_tests%2Fcompile_test_helpers.c;h=207c0b2d346378bbdf0a79b9755484e1df18f524;hb=b6425505ff03ea9336692adf0ebd5fa14560fb5f;hp=ac29aa3cd2799ed55bb24281fc0414b89df8815e;hpb=fb4c4c3ddc24772f71a64ec02d2c9ddaeb6e9f6b;p=ccan diff --git a/tools/ccanlint/compulsory_tests/compile_test_helpers.c b/tools/ccanlint/compulsory_tests/compile_test_helpers.c index ac29aa3c..207c0b2d 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,