- i->compiled = maybe_temp_file(m, "", false, fullfile);
- if (!compile_object(m, fullfile, ccan_dir, compiler, cflags,
- i->compiled, &output)) {
- talloc_free(i->compiled);
- i->compiled = NULL;
+ i->compiled[ctype] = maybe_temp_file(m, "", false, fullfile);
+ if (!compile_object(m, fullfile, ccan_dir, compiler, flags,
+ i->compiled[ctype], &output)) {
+ talloc_free(i->compiled[ctype]);
+ i->compiled[ctype] = NULL;