mirror of
https://github.com/MariaDB/server.git
synced 2025-01-19 13:32:33 +01:00
Add "-Werror-implicit-function-declaration" to CFLAGS when using gcc.
This commit is contained in:
parent
43a21f6ed4
commit
9243694086
1 changed files with 6 additions and 0 deletions
|
@ -102,6 +102,12 @@ fi
|
|||
# CFLAGS="$CFLAGS -std=c89 -ansi -pedantic -Wno-long-long"
|
||||
#fi
|
||||
|
||||
# If using gcc, add some extra warning flags.
|
||||
if test "$ac_cv_prog_gcc" = "yes"
|
||||
then
|
||||
CFLAGS="$CFLAGS -Werror-implicit-function-declaration"
|
||||
fi
|
||||
|
||||
case "$target_os" in
|
||||
lin*)
|
||||
CFLAGS="$CFLAGS -DUNIV_LINUX";;
|
||||
|
|
Loading…
Reference in a new issue