X-Git-Url: https://git.ozlabs.org/?a=blobdiff_plain;f=tools%2Fdepends.c;h=399b0aadf5affee6b8b814d2facc118a40150bf0;hb=0248fa2c84bdf4b5117d2672a68d89505aacae8f;hp=4f56d14e1eeb97edf71f5b07b2e7050ec3c940a1;hpb=e0529e15e0c7f9251af5465ef03f208d279affc1;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; }