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.old (-11 / +4 lines)
Lines 11-20 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=
14
CFLAGS="-O1 -finline-functions ${CFLAGS}"
15
CPPFLAGS=
15
CXXFLAGS="-O1 -finline-functions ${CXXFLAGS}"
16
CXXFLAGS=
16
CCASFLAGS="-O1 -finline-functions ${CCASFLAGS}"
17
CCASFLAGS=
18
17
19
dnl Check for debug build
18
dnl Check for debug build
20
AC_MSG_CHECKING(debug build)
19
AC_MSG_CHECKING(debug build)
Lines 23-38 Link Here
23
if test "x$debug" == xyes
22
if test "x$debug" == xyes
24
then
23
then
25
 AC_DEFINE(_DEBUG,1,[_DEBUG])
24
 AC_DEFINE(_DEBUG,1,[_DEBUG])
26
 CFLAGS+=" -g "
25
 CCASFLAGS+=" -D_DEBUG "
27
 CPPFLAGS+=" -g "
28
 CXXFLAGS+=" -g "
29
 CCASFLAGS+=" -D_DEBUG -g "
30
 MYOBJDIR="Debug"
26
 MYOBJDIR="Debug"
31
else
27
else
32
 AC_DEFINE(NDEBUG,1,[NDEBUG])
28
 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"
29
 MYOBJDIR="Release"
37
fi
30
fi
38
AC_MSG_RESULT($debug)
31
AC_MSG_RESULT($debug)

Return to bug 141626