summaryrefslogtreecommitdiffhomepage
path: root/auto
diff options
context:
space:
mode:
authorAndrew Clayton <a.clayton@nginx.com>2024-02-28 19:08:41 +0000
committerAndrew Clayton <a.clayton@nginx.com>2024-03-09 00:42:27 +0000
commit806e209df541114f79033651271ef62d80bb69f5 (patch)
tree8eb8ee98a521fde4da2c10c5fad4031f9e6b884d /auto
parent9cd11133f9eaf4f31f7d1c477613d12c22774b09 (diff)
downloadunit-806e209df541114f79033651271ef62d80bb69f5.tar.gz
unit-806e209df541114f79033651271ef62d80bb69f5.tar.bz2
Remove -W from compiler flags
This is what -Wextra used to be called, but any version of GCC or Clang in at least the last decade has -Wextra. Cc: Dan Callahan <d.callahan@f5.com> Reviewed-by: Alejandro Colomar <alx@kernel.org> Signed-off-by: Andrew Clayton <a.clayton@nginx.com>
Diffstat (limited to 'auto')
-rw-r--r--auto/cc/test4
1 files changed, 2 insertions, 2 deletions
diff --git a/auto/cc/test b/auto/cc/test
index dbaa7124..fdb84760 100644
--- a/auto/cc/test
+++ b/auto/cc/test
@@ -70,7 +70,7 @@ case $NXT_CC_NAME in
NXT_CFLAGS="$NXT_CFLAGS -O"
#NXT_CFLAGS="$NXT_CFLAGS -O0"
- NXT_CFLAGS="$NXT_CFLAGS -W -Wall -Wextra"
+ NXT_CFLAGS="$NXT_CFLAGS -Wall -Wextra"
#NXT_CFLAGS="$NXT_CFLAGS -Wunused-result"
NXT_CFLAGS="$NXT_CFLAGS -Wno-unused-parameter"
@@ -107,7 +107,7 @@ case $NXT_CC_NAME in
NXT_CFLAGS="$NXT_CFLAGS -O"
#NXT_CFLAGS="$NXT_CFLAGS -O0"
- NXT_CFLAGS="$NXT_CFLAGS -W -Wall -Wextra"
+ NXT_CFLAGS="$NXT_CFLAGS -Wall -Wextra"
#NXT_CFLAGS="$NXT_CFLAGS -Wunused-result"
NXT_CFLAGS="$NXT_CFLAGS -Wno-unused-parameter"