btrfs-progs: build: allow to build with various compiler warnings
authorDavid Sterba <dsterba@suse.com>
Tue, 6 Oct 2015 12:40:07 +0000 (14:40 +0200)
committerDavid Sterba <dsterba@suse.com>
Wed, 21 Oct 2015 12:29:26 +0000 (14:29 +0200)
commitb556a992c3adf892948106503f6572704d877cdb
tree04fb167af6d8b8d66b20ef8d31bb535539d51309
parentc2e85337f6600bed1b348c9e86f83c27f753df6b
btrfs-progs: build: allow to build with various compiler warnings

Copied from linux kernel, 'make W=1' will build with various additional
warnings turned on. There are 3 levels, combinations are possible. The
build is quite noisy, not all warnings need to be fixed.

A specific warning can be turned on by 'make EXTRA_CFLAGS=-Wsomething'.

Signed-off-by: David Sterba <dsterba@suse.com>
Makefile.extrawarn [new file with mode: 0644]
Makefile.in