]> git.proxmox.com Git - mirror_spl-debian.git/commit
Only make compiler warnings fatal with --enable-debug
authorBrian Behlendorf <behlendorf1@llnl.gov>
Thu, 1 Jul 2010 00:05:36 +0000 (17:05 -0700)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Thu, 1 Jul 2010 00:05:36 +0000 (17:05 -0700)
commitc950d1480dc2bf72b4ea69f32976be016c66135f
tree6e07bc31dca7d3b449c101178d55b97d9e1ff2de
parent6801b7154ccd8df47564d0f888166f3da931f3ff
Only make compiler warnings fatal with --enable-debug

While in theory I like the idea of compiler warnings always being
fatal.  In practice this causes problems when small harmless errors
cause build failures for end users.  To handle this I've updated
the build system such that -Werror is only used when --enable-debug
is passed to configure.  This is how I always build when developing
so I'll catch all build warnings and end users will not get stuck
by minor issues.
Makefile.in
cmd/Makefile.in
config/Rules.am
config/spl-build.m4
configure
include/Makefile.in
lib/Makefile.in
scripts/Makefile.in
spl_config.h.in