Skip to content
Snippets Groups Projects
Commit 129c6b2c authored by Mark Grondona's avatar Mark Grondona
Browse files

o added extra warning flags to gcc for the development cycle

parent e216cb9c
No related branches found
No related tags found
No related merge requests found
......@@ -33,10 +33,10 @@ AC_ARG_ENABLE(debug,
)
AC_MSG_RESULT(${debug=no})
if test "x$debug" = "xtrue"; then
CFLAGS="${CFLAGS--g -Wall}"
CFLAGS="${CFLAGS--g -O2 -Wall -Wpointer-arith -Wstrict-prototypes}"
AC_DEFINE(DEBUG_SYSTEM, 1, [Define for extra debug messages.])
else
CFLAGS="${CFLAGS--g -O2}"
CFLAGS="${CFLAGS--g -O2 -Wall -Wpointer-arith -Wstrict-prototypes}"
fi
AM_CONDITIONAL(DEBUG_MODULES, test "x$debug" = "xtrue")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment