aboutsummaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorLibravatar Kelvin M. Klann <kmk3.code@protonmail.com>2023-05-31 05:12:14 -0300
committerLibravatar Kelvin M. Klann <kmk3.code@protonmail.com>2023-05-31 05:38:02 -0300
commit94090654695bce5d00ef5a833fbd21f0d3ef195b (patch)
treeb36bc36d641e5b3d6b945219ceac0d7dc0d43cd9 /configure
parentbuild: organize warning flags in CFLAGS (diff)
downloadfirejail-94090654695bce5d00ef5a833fbd21f0d3ef195b.tar.gz
firejail-94090654695bce5d00ef5a833fbd21f0d3ef195b.tar.zst
firejail-94090654695bce5d00ef5a833fbd21f0d3ef195b.zip
build: enable compiler warnings by default
Enable -Wall by default and add -Wextra.
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure4
1 files changed, 2 insertions, 2 deletions
diff --git a/configure b/configure
index dd210cd67..ceb09bd31 100755
--- a/configure
+++ b/configure
@@ -1391,7 +1391,7 @@ Optional Features:
1391 --disable-x11 disable X11 sandboxing support 1391 --disable-x11 disable X11 sandboxing support
1392 --disable-file-transfer disable file transfer 1392 --disable-file-transfer disable file transfer
1393 --disable-suid install as a non-SUID executable 1393 --disable-suid install as a non-SUID executable
1394 --enable-fatal-warnings -W -Wall -Werror 1394 --enable-fatal-warnings -W -Werror
1395 --enable-busybox-workaround 1395 --enable-busybox-workaround
1396 enable busybox workaround 1396 enable busybox workaround
1397 --enable-gcov Gcov instrumentation 1397 --enable-gcov Gcov instrumentation
@@ -3601,7 +3601,7 @@ fi
3601 3601
3602if test "x$enable_fatal_warnings" = "xyes"; then : 3602if test "x$enable_fatal_warnings" = "xyes"; then :
3603 3603
3604 HAVE_FATAL_WARNINGS="-W -Wall -Werror" 3604 HAVE_FATAL_WARNINGS="-W -Werror"
3605 3605
3606fi 3606fi
3607 3607