Skip to content
Snippets Groups Projects
Commit b961dc0a authored by Claus-Justus Heine's avatar Claus-Justus Heine
Browse files

Reenable -Wall by default and change all this fucking mess to compile
without warnings (BTW: found a block matrix error while examining all
the warnings).

This mess was committed by cH.
parent dcf75c8f
No related branches found
No related tags found
No related merge requests found
......@@ -152,7 +152,7 @@ dnl set default debugging flags, but allow for user-override
dnl
if test -z "${ALBERTA_DEBUG_CFLAGS}"; then
if test "$GCC" = yes; then
ALBERTA_DEBUG_CFLAGS="-O0 -g3 -gdwarf-2 -fno-inline -fno-builtin"
ALBERTA_DEBUG_CFLAGS="-Wall -O0 -g3 -ggdb -fno-inline -fno-builtin"
else
ALBERTA_DEBUG_CFLAGS="-g"
fi
......@@ -167,7 +167,7 @@ dnl code.
dnl
if test -z "${ALBERTA_OPTIMIZE_CFLAGS}"; then
if test "$GCC" = yes; then
ALBERTA_OPTIMIZE_CFLAGS="-O3 -g"
ALBERTA_OPTIMIZE_CFLAGS="-Wall -O3 -g3 -ggdb"
else
ALBERTA_OPTIMIZE_CFLAGS="-O"
fi
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment