]> git.ozlabs.org Git - ccan/commit
ccanlint: read config.h to get compilation flags at runtime.
authorRusty Russell <rusty@rustcorp.com.au>
Tue, 1 Mar 2011 05:38:57 +0000 (16:08 +1030)
committerRusty Russell <rusty@rustcorp.com.au>
Tue, 1 Mar 2011 05:38:57 +0000 (16:08 +1030)
commit104125b2dd0a044fb3d68f9bc3b1b18c9f32ae2b
tree8e7071e5d6d80ff2aa6b942a21f76a0f81d2bddf
parente169f82bbe459c6cfb80d5180f3ceb61a66a52ed
ccanlint: read config.h to get compilation flags at runtime.

This means you don't have to recompile ccanlint to get the new flags;
it's a small step towards making ccanlint useful outside the ccan repo.
13 files changed:
tools/ccanlint/ccanlint.c
tools/ccanlint/ccanlint.h
tools/ccanlint/compulsory_tests/depends_build.c
tools/ccanlint/compulsory_tests/main_header_compiles.c
tools/ccanlint/compulsory_tests/module_links.c
tools/ccanlint/compulsory_tests/objects_build.c
tools/ccanlint/tests/examples_compile.c
tools/ccanlint/tests/tests_compile.c
tools/ccanlint/tests/tests_compile_coverage.c
tools/ccanlint/tests/tests_helpers_compile.c
tools/compile.c
tools/depends.c
tools/tools.h