X-Git-Url: http://git.ozlabs.org/?a=blobdiff_plain;ds=inline;f=tools%2Fdepends.c;h=399b0aadf5affee6b8b814d2facc118a40150bf0;hb=3d5a1a3290b2075fbf4e60df37596668dfd6b898;hp=4f56d14e1eeb97edf71f5b07b2e7050ec3c940a1;hpb=49a1a4366fdcea418582a97cb0bf700373b89868;p=ccan diff --git a/tools/depends.c b/tools/depends.c index 4f56d14e..399b0aad 100644 --- a/tools/depends.c +++ b/tools/depends.c @@ -62,8 +62,7 @@ char *compile_info(const void *ctx, const char *dir) compiled = temp_file(ctx, "", "info"); if (compile_and_link(ctx, info_c_file, find_ccan_dir(dir), "", - CCAN_COMPILER, CCAN_CFLAGS " -I.", "", - compiled, &output)) + compiler, cflags, "", compiled, &output)) return compiled; return NULL; }