diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2007-01-27 13:44:53 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2007-01-27 13:44:53 +0000 |
commit | e0eebc1ef3816bd75988021376a368dfe19470c5 (patch) | |
tree | 0008d612e2c7a07f858e4729589e215f20a542e0 /Config.in | |
parent | fd94efa41f6a37221c68d4c0ed12f4883d2069ba (diff) | |
download | busybox-w32-e0eebc1ef3816bd75988021376a368dfe19470c5.tar.gz busybox-w32-e0eebc1ef3816bd75988021376a368dfe19470c5.tar.bz2 busybox-w32-e0eebc1ef3816bd75988021376a368dfe19470c5.zip |
Make -Werror configurable
Diffstat (limited to 'Config.in')
-rw-r--r-- | Config.in | 25 |
1 files changed, 17 insertions, 8 deletions
@@ -352,16 +352,25 @@ config DEBUG | |||
352 | 352 | ||
353 | Most people should answer N. | 353 | Most people should answer N. |
354 | 354 | ||
355 | config DEBUG_PESSIMIZE | 355 | config WERROR |
356 | bool "Disable compiler optimizations." | 356 | bool "Abort compilation on any warning" |
357 | default n | 357 | default n |
358 | depends on DEBUG | ||
359 | help | 358 | help |
360 | The compiler's optimization of source code can eliminate and reorder | 359 | Selecting this will add -Werror to gcc command line. |
361 | code, resulting in an executable that's hard to understand when | 360 | |
362 | stepping through it with a debugger. This switches it off, resulting | 361 | Most people should answer N. |
363 | in a much bigger executable that more closely matches the source | 362 | |
364 | code. | 363 | # Seems to be unused |
364 | #config DEBUG_PESSIMIZE | ||
365 | # bool "Disable compiler optimizations." | ||
366 | # default n | ||
367 | # depends on DEBUG | ||
368 | # help | ||
369 | # The compiler's optimization of source code can eliminate and reorder | ||
370 | # code, resulting in an executable that's hard to understand when | ||
371 | # stepping through it with a debugger. This switches it off, resulting | ||
372 | # in a much bigger executable that more closely matches the source | ||
373 | # code. | ||
365 | 374 | ||
366 | choice | 375 | choice |
367 | prompt "Additional debugging library" | 376 | prompt "Additional debugging library" |