Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 141626 | Differences between
and this patch

Collapse All | Expand All

(-)configure.ac (-12 / +1 lines)
Lines 11-21 Link Here
11
dnl necessary for compiling assembly
11
dnl necessary for compiling assembly
12
AM_PROG_AS
12
AM_PROG_AS
13
13
14
CFLAGS=
15
CPPFLAGS=
16
CXXFLAGS=
17
CCASFLAGS=
18
19
dnl Check for debug build
14
dnl Check for debug build
20
AC_MSG_CHECKING(debug build)
15
AC_MSG_CHECKING(debug build)
21
AC_ARG_ENABLE(debug, AC_HELP_STRING([--enable-debug], [debug build]),
16
AC_ARG_ENABLE(debug, AC_HELP_STRING([--enable-debug], [debug build]),
Lines 23-38 Link Here
23
if test "x$debug" == xyes
18
if test "x$debug" == xyes
24
then
19
then
25
 AC_DEFINE(_DEBUG,1,[_DEBUG])
20
 AC_DEFINE(_DEBUG,1,[_DEBUG])
26
 CFLAGS+=" -g "
21
 CCASFLAGS+=" -D_DEBUG "
27
 CPPFLAGS+=" -g "
28
 CXXFLAGS+=" -g "
29
 CCASFLAGS+=" -D_DEBUG -g "
30
 MYOBJDIR="Debug"
22
 MYOBJDIR="Debug"
31
else
23
else
32
 AC_DEFINE(NDEBUG,1,[NDEBUG])
24
 AC_DEFINE(NDEBUG,1,[NDEBUG])
33
 CFLAGS+=" -O3 -fomit-frame-pointer "
34
 CPPFLAGS+=" -O3 -fomit-frame-pointer "
35
 CXXFLAGS+=" -O3 -fomit-frame-pointer "
36
 MYOBJDIR="Release"
25
 MYOBJDIR="Release"
37
fi
26
fi
38
AC_MSG_RESULT($debug)
27
AC_MSG_RESULT($debug)

Return to bug 141626