build: Fix typo in -Wparentheses warning
authorPhilip Withnall <withnall@endlessm.com>
Thu, 21 Dec 2017 18:01:44 +0000 (18:01 +0000)
committerAtomic Bot <atomic-devel@projectatomic.io>
Thu, 21 Dec 2017 22:34:26 +0000 (22:34 +0000)
GCC supports -Wparentheses, not -Wparenthesis.

https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wno-parentheses

Signed-off-by: Philip Withnall <withnall@endlessm.com>
Closes: #1388
Approved by: jlebon

configure.ac

index 697007d519c48b402244eaa2de0cec33d3c0c457..fa436ea6dc4543d1ed7b2b17416a618fde2aed6e 100644 (file)
@@ -43,7 +43,7 @@ CC_CHECK_FLAGS_APPEND([WARN_CFLAGS], [CFLAGS], [\
   -Werror=switch \
   -Werror=overflow \
   -Werror=int-conversion \
-  -Werror=parenthesis \
+  -Werror=parentheses \
   -Werror=undef \
   -Werror=incompatible-pointer-types \
   -Werror=misleading-indentation \