]> git.ipfire.org Git - thirdparty/ipxe.git/commit
[build] Use -Wno-decl when running sparse
authorMichael Brown <mcb30@ipxe.org>
Sun, 28 Apr 2013 15:43:32 +0000 (16:43 +0100)
committerMichael Brown <mcb30@ipxe.org>
Sun, 28 Apr 2013 15:43:32 +0000 (16:43 +0100)
commite5cbfefdf3dc337afc71ccd2fbe4126ee5976bfc
tree9535a5291e126fd854427908a031e93ed0d7b090
parent2e54c4b52e347a49df0c08357ece3e326a0b5e09
[build] Use -Wno-decl when running sparse

Linker table entries must be non-static in order to avoid being
completely optimised away by some versions of gcc.  Use -Wno-decl to
prevent sparse from warning about these, since the alternative would
be to litter the code with otherwise unnecessary "extern"
declarations.

Signed-off-by: Michael Brown <mcb30@ipxe.org>
src/Makefile.housekeeping