Lines 631-650
Link Here
|
631 |
if test x${USE_MAINTAINER_MODE} = xyes ; then |
631 |
if test x${USE_MAINTAINER_MODE} = xyes ; then |
632 |
STP_ADD_COMPILER_ARGS([-pedantic -Waggregate-return -Wcast-qual -Wshadow -Wredundant-decls],, [GNUCFLAGS]) |
632 |
STP_ADD_COMPILER_ARGS([-pedantic -Waggregate-return -Wcast-qual -Wshadow -Wredundant-decls],, [GNUCFLAGS]) |
633 |
fi |
633 |
fi |
634 |
if test x$ENABLE_DEBUG = xyes ; then |
|
|
635 |
STP_ADD_COMPILER_ARG([-g]) |
636 |
else |
637 |
STP_ADD_FIRST_COMPILER_ARG([-O6 -O3 -O2 -O1 -O]) |
638 |
fi |
639 |
else |
640 |
if test x$ENABLE_DEBUG = xyes ; then |
641 |
STP_ADD_COMPILER_ARG([-g]) |
642 |
else |
643 |
STP_ADD_FIRST_COMPILER_ARG([-O]) |
644 |
fi |
645 |
fi |
646 |
if test x$ENABLE_PROFILE = xyes ; then |
647 |
STP_ADD_COMPILER_ARG([-pg]) |
648 |
fi |
634 |
fi |
649 |
AC_SUBST(GNUCFLAGS) |
635 |
AC_SUBST(GNUCFLAGS) |
650 |
|
636 |
|