X-Git-Url: https://git.ozlabs.org/?p=ccan;a=blobdiff_plain;f=ccan%2Fgenerator%2F_info;fp=ccan%2Fgenerator%2F_info;h=aa6048e9c3f27aa5701cc16c94881d37ec9eb39f;hp=e40d7bbb28c602c5e8b984a41ab203e5e82943de;hb=0fe2d094b262f6e8bed798930e8c4716d33d5dc7;hpb=25b7406d11ea3703be864097af66ce95611dde72 diff --git a/ccan/generator/_info b/ccan/generator/_info index e40d7bbb..aa6048e9 100644 --- a/ccan/generator/_info +++ b/ccan/generator/_info @@ -43,12 +43,6 @@ * * Author: David Gibson * License: LGPL (v2.1 or any later version) - * - * Ccanlint: - * // We need several gcc extensions - * objects_build_without_features FAIL - * tests_compile_without_features FAIL - * tests_helpers_compile_without_features FAIL */ int main(int argc, char *argv[]) { @@ -78,5 +72,13 @@ int main(int argc, char *argv[]) return 0; } + if (strcmp(argv[1], "ccanlint") == 0) { + /* We need several gcc extensions */ + printf("objects_build_without_features FAIL\n"); + printf("tests_compile_without_features FAIL\n"); + printf("tests_helpers_compile_without_features FAIL\n"); + return 0; + } + return 1; }