From 309a56f3f7c5735e09a25e62667be8700d4db7d6 Mon Sep 17 00:00:00 2001 From: Jani Taskinen Date: Tue, 2 Nov 2010 09:58:08 +0000 Subject: - Fixed -g adding for gcc and g++ (former got it twice, latter not at all) --- scripts/phpize.m4 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts/phpize.m4') diff --git a/scripts/phpize.m4 b/scripts/phpize.m4 index 07e6037fbc..e3a30a50c5 100644 --- a/scripts/phpize.m4 +++ b/scripts/phpize.m4 @@ -111,7 +111,7 @@ if test "$PHP_DEBUG" = "yes"; then dnl add -O0 only if GCC or ICC is used if test "$GCC" = "yes" || test "$ICC" = "yes"; then CFLAGS="$CFLAGS -O0" - CXXFLAGS="$CXXFLAGS -O0" + CXXFLAGS="$CXXFLAGS -g -O0" fi if test "$SUNCC" = "yes"; then if test -n "$auto_cflags"; then -- cgit v1.2.1