mirror of https://github.com/getdnsapi/getdns.git
Compile with extra warnings by default
This commit is contained in:
parent
743e04bfd6
commit
ce41258b14
|
@ -98,6 +98,7 @@ CFLAGS="$CFLAGS"
|
||||||
AC_PROG_CC_C99
|
AC_PROG_CC_C99
|
||||||
AX_CHECK_COMPILE_FLAG([-xc99],[CFLAGS="$CFLAGS -xc99"],[],[])
|
AX_CHECK_COMPILE_FLAG([-xc99],[CFLAGS="$CFLAGS -xc99"],[],[])
|
||||||
AX_CHECK_COMPILE_FLAG([-Wall],[CFLAGS="$CFLAGS -Wall"],[],[])
|
AX_CHECK_COMPILE_FLAG([-Wall],[CFLAGS="$CFLAGS -Wall"],[],[])
|
||||||
|
AX_CHECK_COMPILE_FLAG([-Wall],[CFLAGS="$CFLAGS -Wextra"],[],[])
|
||||||
|
|
||||||
case "$host_os" in
|
case "$host_os" in
|
||||||
linux* ) CFLAGS="$CFLAGS -D_BSD_SOURCE -D_DEFAULT_SOURCE"
|
linux* ) CFLAGS="$CFLAGS -D_BSD_SOURCE -D_DEFAULT_SOURCE"
|
||||||
|
|
Loading…
Reference in New Issue