mirror of
https://github.com/HEYAHONG/kconfig-frontends.git
synced 2025-05-09 02:01:14 +08:00
configure: enable -Wall by default
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Cc: Jan Engelhardt <jengelh@inai.de>
This commit is contained in:
parent
24b5ad69a4
commit
775a5e27bd
@ -50,12 +50,13 @@ LT_INIT([disable-static])
|
||||
#---------------------------------------------------------------------------
|
||||
# Set misc options
|
||||
|
||||
# By default, do not build with -Wall, unless the user asks for it
|
||||
# By default, do build with -Wall, unless the user asks not to
|
||||
[wall_CFLAGS=-Wall]
|
||||
AC_ARG_ENABLE(
|
||||
[wall],
|
||||
[AS_HELP_STRING(
|
||||
[--enable-wall],
|
||||
[build with -Wall (default=no)])],
|
||||
[--disable-wall],
|
||||
[build with -Wall (default=yes)])],
|
||||
[AS_CASE(
|
||||
["$enableval"],
|
||||
[yes], [wall_CFLAGS=-Wall],
|
||||
|
Loading…
x
Reference in New Issue
Block a user