mirror of
https://github.com/MariaDB/server.git
synced 2025-01-19 13:32:33 +01:00
Add -Wpointer-arith to CFLAGS when using GCC.
This commit is contained in:
parent
3412bdf03e
commit
8c91463079
1 changed files with 1 additions and 1 deletions
|
@ -105,7 +105,7 @@ fi
|
|||
# If using gcc, add some extra warning flags.
|
||||
if test "$ac_cv_prog_gcc" = "yes"
|
||||
then
|
||||
CFLAGS="$CFLAGS -Werror-implicit-function-declaration"
|
||||
CFLAGS="$CFLAGS -Werror-implicit-function-declaration -Wpointer-arith"
|
||||
fi
|
||||
|
||||
case "$target_os" in
|
||||
|
|
Loading…
Reference in a new issue