about summary refs log tree commit diff
path: root/configure
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2020-08-27 20:43:47 -0400
committerRich Felker <dalias@aerifal.cx>2020-08-27 20:43:47 -0400
commit86ac0f794731f03dfff40ee843ff9e2752945d5e (patch)
tree871ab3460a5a1107c06bfbeed737d64729fbac8b /configure
parent0a312d34b98940f6543b4ae07077d1d59d0afe5b (diff)
downloadmusl-86ac0f794731f03dfff40ee843ff9e2752945d5e.tar.gz
musl-86ac0f794731f03dfff40ee843ff9e2752945d5e.tar.xz
musl-86ac0f794731f03dfff40ee843ff9e2752945d5e.zip
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.
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure4
1 files changed, 2 insertions, 2 deletions
diff --git a/configure b/configure
index 9fc74a9b..947adf41 100755
--- a/configure
+++ b/configure
@@ -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