X-Git-Url: https://git.ozlabs.org/?p=ccan;a=blobdiff_plain;f=tools%2Fccanlint%2Ftests%2Fexamples_compile.c;h=67412df34e184301cd3894e78080ab546cb8c480;hp=578805fe0c62a23db549a6e54e6fb0018980a15a;hb=104125b2dd0a044fb3d68f9bc3b1b18c9f32ae2b;hpb=e169f82bbe459c6cfb80d5180f3ceb61a66a52ed diff --git a/tools/ccanlint/tests/examples_compile.c b/tools/ccanlint/tests/examples_compile.c index 578805fe..67412df3 100644 --- a/tools/ccanlint/tests/examples_compile.c +++ b/tools/ccanlint/tests/examples_compile.c @@ -121,7 +121,8 @@ static bool compile(const void *ctx, file->compiled = maybe_temp_file(ctx, "", keep, file->fullname); if (!compile_and_link(ctx, file->fullname, ccan_dir, obj_list(m, file), - "", lib_list(m), file->compiled, output)) { + compiler, cflags, + lib_list(m), file->compiled, output)) { /* Don't keep failures. */ if (keep) unlink(file->compiled);