X-Git-Url: https://git.ozlabs.org/?p=ccan;a=blobdiff_plain;f=tools%2Fccanlint%2Fcompulsory_tests%2Fcompile_test_helpers.c;h=207c0b2d346378bbdf0a79b9755484e1df18f524;hp=94daaa1bf4bbe1128d234cf767e228f08bd1680b;hb=63bceea014e091a2f2907e49f7c3b33f042106f4;hpb=29e10815c6771c58fc9d9b93092ee954a4bd9e22 diff --git a/tools/ccanlint/compulsory_tests/compile_test_helpers.c b/tools/ccanlint/compulsory_tests/compile_test_helpers.c index 94daaa1b..207c0b2d 100644 --- a/tools/ccanlint/compulsory_tests/compile_test_helpers.c +++ b/tools/ccanlint/compulsory_tests/compile_test_helpers.c @@ -25,7 +25,7 @@ static char *compile(struct manifest *m, bool keep, struct ccan_file *cfile) { - cfile->compiled = maybe_temp_file(m, "", keep, cfile->fullname); + cfile->compiled = maybe_temp_file(m, ".o", keep, cfile->fullname); return compile_object(m, cfile->fullname, ccan_dir, "", cfile->compiled); }