X-Git-Url: https://git.ozlabs.org/?p=ccan;a=blobdiff_plain;f=tools%2Fccanlint%2Ftests%2Ftests_helpers_compile.c;h=baa5309f08c50a6c4c4b245452f382ee33376267;hp=d7c8f0ae75ccd7282c0c39726ee639f04f8a7ee1;hb=75a6a6ad64156ef3b13493be2970ae3cb99ccf8b;hpb=b931f4765272d68de3b5e35d70c1933c27bcdea4 diff --git a/tools/ccanlint/tests/tests_helpers_compile.c b/tools/ccanlint/tests/tests_helpers_compile.c index d7c8f0ae..baa5309f 100644 --- a/tools/ccanlint/tests/tests_helpers_compile.c +++ b/tools/ccanlint/tests/tests_helpers_compile.c @@ -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);