From 312b588bc15de4597b6113613db63f24a6c8734e Mon Sep 17 00:00:00 2001 From: jsdelfino Date: Mon, 21 Mar 2011 07:42:12 +0000 Subject: Add debug support to optimized build and downgrade GCC optimizations from O3 to O2. git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1083695 13f79535-47bb-0310-9956-ffa450edef68 --- sca-cpp/trunk/configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sca-cpp') diff --git a/sca-cpp/trunk/configure.ac b/sca-cpp/trunk/configure.ac index 9a64c78fb6..4d713a5c93 100644 --- a/sca-cpp/trunk/configure.ac +++ b/sca-cpp/trunk/configure.ac @@ -110,7 +110,7 @@ if test "${want_maintainer_mode}" = "true"; then AM_CONDITIONAL([WANT_MAINTAINER_MODE], true) AC_DEFINE([WANT_MAINTAINER_MODE], 1, [compile with debugging and compile-time warnings]) else - cxxflags="${cxxflags} -O3 -std=c++0x -fmessage-length=0" + cxxflags="${cxxflags} -g -O2 -std=c++0x -fmessage-length=0" AM_CONDITIONAL([WANT_MAINTAINER_MODE], false) fi -- cgit v1.2.3