]> git.ozlabs.org Git - ccan/blobdiff - tools/ccanlint/tests/tests_helpers_compile.c
ccanlint: clean up reduced feature handling.
[ccan] / tools / ccanlint / tests / tests_helpers_compile.c
index d7c8f0ae75ccd7282c0c39726ee639f04f8a7ee1..baa5309f08c50a6c4c4b245452f382ee33376267 100644 (file)
@@ -102,7 +102,8 @@ static void do_compile_test_helpers_without_features(struct manifest *m,
 {
        char *flags;
 
-       flags = talloc_asprintf(score, "%s -I.", cflags);
+       flags = talloc_asprintf(score, "%s %s", cflags,
+                               REDUCE_FEATURES_FLAGS);
 
        compile_test_helpers(m, keep, timeleft, score, flags,
                             COMPILE_NOFEAT);