]> git.ozlabs.org Git - ccan/blobdiff - tools/ccanlint/tests/tests_helpers_compile.c
ccanlint: read config.h to get compilation flags at runtime.
[ccan] / tools / ccanlint / tests / tests_helpers_compile.c
index 67ca8d8ae332f192f568272909befb7ac2281aaa..7aad1dcb9291b48a96bce6688af2291dcc016fa9 100644 (file)
@@ -27,7 +27,7 @@ static bool compile(struct manifest *m,
                    char **output)
 {
        cfile->compiled = maybe_temp_file(m, ".o", keep, cfile->fullname);
-       return compile_object(m, cfile->fullname, ccan_dir, "",
+       return compile_object(m, cfile->fullname, ccan_dir, compiler, cflags,
                              cfile->compiled, output);
 }