configure: enable warnings by default

now that -Wall is not used and we control which warnings are enabled,
it makes sense to have the wanted ones on by default. hopefully this
will also discourage manually adding -Wall to CFLAGS and making
incorrect changes or bug reports based on the compiler's output.
This commit is contained in:
Rich Felker 2020-08-27 20:43:47 -04:00
parent 0a312d34b9
commit 86ac0f7947
1 changed files with 2 additions and 2 deletions

4
configure vendored
View File

@ -30,7 +30,7 @@ System types:
Optional features:
--enable-optimize=... optimize listed components for speed over size [auto]
--enable-debug build with debugging information [disabled]
--enable-warnings build with recommended warnings flags [disabled]
--disable-warnings build with recommended warnings flags [enabled]
--enable-wrapper=... build given musl toolchain wrapper [auto]
--disable-shared inhibit building shared library [enabled]
--disable-static inhibit building static library [enabled]
@ -136,7 +136,7 @@ build=
target=
optimize=auto
debug=no
warnings=no
warnings=yes
shared=auto
static=yes
wrapper=auto