X-Git-Url: https://git.ozlabs.org/?a=blobdiff_plain;f=tools%2Fccanlint%2Fcompulsory_tests%2Fmodule_links.c;h=9c1bce79d9e608c31e6b1fefefc38a56fb72f9bc;hb=8de1e8a6faef77773cbf8ed237eb4e330143d2f2;hp=83b1c780e067046cc715fc479f7e79c64e22cdda;hpb=051db34fb275491d4d5dfa5bf7970e8e525766d8;p=ccan diff --git a/tools/ccanlint/compulsory_tests/module_links.c b/tools/ccanlint/compulsory_tests/module_links.c index 83b1c780..9c1bce79 100644 --- a/tools/ccanlint/compulsory_tests/module_links.c +++ b/tools/ccanlint/compulsory_tests/module_links.c @@ -72,8 +72,8 @@ static void check_use_build(struct manifest *m, err(1, "Failure writing to temporary file %s", tmpfile); close(fd); - if (compile_and_link(score, tmpfile, ccan_dir, obj_list(m), "", - lib_list(m), + if (compile_and_link(score, tmpfile, ccan_dir, obj_list(m), + compiler, cflags, lib_list(m), maybe_temp_file(m, "", keep, tmpfile), &cmdout)) { score->pass = true;