From: Monty Taylor Date: Tue, 16 Jun 2009 15:31:26 +0000 (-0700) Subject: Ported in flags from Drizzle. X-Git-Tag: 0.31~14^2~7^2~2 X-Git-Url: https://git.m6w6.name/?a=commitdiff_plain;h=3a45ba8465810312226172f3b7845e569e1b26e0;p=awesomized%2Flibmemcached Ported in flags from Drizzle. --- diff --git a/configure.ac b/configure.ac index 422a41d1..f83c9e06 100644 --- a/configure.ac +++ b/configure.ac @@ -106,14 +106,23 @@ AS_IF([test "$ac_cv_prog_cc_c99" != "no"], if test "$GCC" = "yes" then CFLAGS="-ggdb3 ${CFLAGS}" + CXXFLAGS="-ggdb3 ${CXXFLAGS}" + DEBUG_CFLAGS="-O0" + DEBUG_CXXFLAGS="-O0" + OPTIMIZE_CFLAGS="-O3" + OPTIMIZE_CXXFLAGS="-O3" fi if test "x$SUNCC" = "xyes" then - CFLAGS="-g -mt ${CFLAGS}" - CXXFLAGS="-g -mt -xlang=c99 ${CXXFLAGS}" - OPTIMIZE_CFLAGS="-xO4 -xlibmil -xdepend -Xa -xstrconst" + CFLAGS="-g -mt ${CFLAGS}" + CXXFLAGS="-g -mt -xlang=c99 ${CXXFLAGS}" + + OPTIMIZE_FLAGS="-xO4 -xlibmil -xdepend -xbuiltin -lmopt" + OPTIMIZE_CFLAGS="${OPTIMIZE_FLAGS} -Xa -xstrconst" + OPTIMIZE_CXXFLAGS="${OPTIMIZE_FLAGS}" + fi SOLARIS_64BIT