Commit bb99f744 authored by Mario Sanchez Prada's avatar Mario Sanchez Prada
Browse files

Do not set Wall, g0 and 02 flags in release builds

parent 45f2a5e8
AC_INIT([frogr], [0.6], [msanchez@igalia.com])
AM_INIT_AUTOMAKE([-Wall foreign])
AM_INIT_AUTOMAKE([foreign])
AC_PROG_CC
AC_PROG_RANLIB
AC_CONFIG_HEADERS([config.h])
......@@ -177,7 +177,7 @@ if test "x$enable_debug" = "xyes"; then
AC_DEFINE([DEBUG_ENABLED], [1], [Debug enabled])
CFLAGS="$CFLAGS -DG_ENABLE_DEBUG -DG_ERRORCHECK_MUTEXES -Wall -Werror -g3 -O0"
else
CFLAGS="$CFLAGS -DG_DISABLE_ASSERT -DG_DISABLE_CHECKS -DG_DISABLE_CAST_CHECKS -Wall -g0 -O2"
CFLAGS="$CFLAGS -DG_DISABLE_ASSERT -DG_DISABLE_CHECKS -DG_DISABLE_CAST_CHECKS"
fi
# Substitute
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment