From e0eebc1ef3816bd75988021376a368dfe19470c5 Mon Sep 17 00:00:00 2001 From: Denis Vlasenko Date: Sat, 27 Jan 2007 13:44:53 +0000 Subject: Make -Werror configurable --- Config.in | 25 +++++++++++++++++-------- 1 file changed, 17 insertions(+), 8 deletions(-) (limited to 'Config.in') diff --git a/Config.in b/Config.in index 499233bc1..c5f8b3c0f 100644 --- a/Config.in +++ b/Config.in @@ -352,16 +352,25 @@ config DEBUG Most people should answer N. -config DEBUG_PESSIMIZE - bool "Disable compiler optimizations." +config WERROR + bool "Abort compilation on any warning" default n - depends on DEBUG help - The compiler's optimization of source code can eliminate and reorder - code, resulting in an executable that's hard to understand when - stepping through it with a debugger. This switches it off, resulting - in a much bigger executable that more closely matches the source - code. + Selecting this will add -Werror to gcc command line. + + Most people should answer N. + +# Seems to be unused +#config DEBUG_PESSIMIZE +# bool "Disable compiler optimizations." +# default n +# depends on DEBUG +# help +# The compiler's optimization of source code can eliminate and reorder +# code, resulting in an executable that's hard to understand when +# stepping through it with a debugger. This switches it off, resulting +# in a much bigger executable that more closely matches the source +# code. choice prompt "Additional debugging library" -- cgit v1.2.3-55-g6feb