summaryrefslogtreecommitdiffstats
path: root/Makefile.in
diff options
context:
space:
mode:
authorBrian Behlendorf <[email protected]>2010-06-30 17:05:36 -0700
committerBrian Behlendorf <[email protected]>2010-06-30 17:05:36 -0700
commitc950d1480dc2bf72b4ea69f32976be016c66135f (patch)
tree6e07bc31dca7d3b449c101178d55b97d9e1ff2de /Makefile.in
parent6801b7154ccd8df47564d0f888166f3da931f3ff (diff)
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.
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile.in b/Makefile.in
index f2ec0112b..572e88ec2 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -140,6 +140,7 @@ CFLAGS = @CFLAGS@
CPP = @CPP@
CPPFLAGS = @CPPFLAGS@
CYGPATH_W = @CYGPATH_W@
+DEBUG_CFLAGS = @DEBUG_CFLAGS@
DEFS = @DEFS@
DEPDIR = @DEPDIR@
DSYMUTIL = @DSYMUTIL@